now it is possible to produce Marks without buffer attached.
It is used to produce nice error messages (not always needed).
Stripping buffer from Mark decreases memory usage (especially with big files) and deserialization time.
Some output from jvm-serialisers (OSX 10.6.4, C2D 2.66, 4GB DDR3, Apple JRE (build 1.6.0_20-b02-279-10M3065):

./run -pre-warmup -include=yaml/snakeyaml,yaml/yamlbeans,yaml/snakeyaml-optimized,yaml/jyaml data/media.1.cks
Checking correctness...
[done]
Pre-warmup... yaml/snakeyaml yaml/snakeyaml-optimized yaml/yamlbeans yaml/jyaml
[done]
                            create     ser   +same    deser   +shal   +deep   total   size  +dfl
yaml/snakeyaml                 211  235917  234770 ->388725  390145  391940  627857    521   298
yaml/snakeyaml-mark-wo-buff    211  234917  233292 ->263621  263693  265875  500792    521   298
yaml/yamlbeans                 210  263378  259999   403130  403741  403749  667127    569   277
yaml/jyaml                     211  533365  529934   560783  561911  559402 1092767    704   317
3 files changed
tree: eb579a5dbbcf6c4a38daf22f7acefb11f7b7773c
  1. src/
  2. .hgignore
  3. AUTHORS
  4. LICENSE.txt
  5. pom.xml