cosh/FastSerializer — pull request #1 by iloginov (2014-05-01 15:33:35+00:00)
Title: Fix packing TimeSpan values. Related to Fallen-8 issue #17.

Hi!

I've looking today through Fallen-8 Graph DB.

I found out that saving is broken. I checked out previous commit (with Tests). All passed except persistency tests that failed somewhere in Vector32.

It took no long to found out that problem was in milliseconds. 1024 is 11 bits (adding zero you get 1025 different values).

I've fixed and run tests. All passed.

P.S. Could you please answer one question. I've noticed that persistency test with randomGraphs requires too much memory. 100000 * 20 / 2 = 10e6 objects. They requires 20Gb on disk. So approx. 20Kb per object. Why so much?

Ilya