[Mono-list] Very fast growing of serialization time for big array

Yury Serdyuk Yury at serdyuk.botik.ru
Sat Feb 27 08:43:44 EST 2010


>
> Try something like new MemoryStream (4 * size) for comparison.
>
Yes, you are right:

> bash-3.2$ mono BigSerializationTest.exe 270204921
> Serialization time = 1.569402 secs.
> bash-3.2$ mono BigSerializationTest.exe 270204922
> Serialization time = 1.571532 secs.
> bash-3.2$ mono BigSerializationTest.exe 270205000
> Serialization time = 1.569309 secs.
> bash-3.2$ mono BigSerializationTest.exe 300205000
> Serialization time = 1.736334 secs.
> bash-3.2$ mono BigSerializationTest.exe 350205000
> Serialization time = 2.058195 secs.

Thanks.

Sorry for the trouble ...

Yury


More information about the Mono-list mailing list