Speedup the snapshot serialization.
authormikhail.naganov@gmail.com <mikhail.naganov@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 21 Feb 2012 14:56:24 +0000 (14:56 +0000)
committermikhail.naganov@gmail.com <mikhail.naganov@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 21 Feb 2012 14:56:24 +0000 (14:56 +0000)
commit4b54dc52bac8d3303f60d94bcb9838823f436d48
treee1c9afaa2a2c61f87355c824110c3ed72a256d5c
parente414be5fc6735c92a6e876df8e7decf75c8026e6
Speedup the snapshot serialization.

Replaced multiple calls to AddNumber with a single AddString.
AddNumber may now print the value directly into the output buffer.

BUG=none
TEST=none

Review URL: https://chromiumcodereview.appspot.com/9395087
Patch from Alexei Filippov <alexeif@chromium.org>.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10784 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/profile-generator.cc