* Do a GC in mksnapshot to get rid of some extraneous junk.
authorerik.corry@gmail.com <erik.corry@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 3 Nov 2009 21:00:43 +0000 (21:00 +0000)
committererik.corry@gmail.com <erik.corry@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 3 Nov 2009 21:00:43 +0000 (21:00 +0000)
commitb9d37517d2225bc236cde005aeb7fa548264fbe6
tree22d51c3eb18bba07e895ae97dc06e9e0fcff6c7e
parent6d425b70f608ec75a0b9c1e124847adab674467e
* Do a GC in mksnapshot to get rid of some extraneous junk.
* Make snapshot more compact by coding the tag and the space
in one byte.  Contract some common sequences to one byte.
* Use back references only within one page.  Index from the
start of the space otherwise.
* Serialize Smis as raw data rather than int-encoding them.
This takes a little more space but is faster.
Review URL: http://codereview.chromium.org/341079

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3208 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/mksnapshot.cc
src/objects.h
src/serialize.cc
src/serialize.h