Serialization woes

Jacob Carlborg doob at me.com
Wed Apr 18 09:19:25 PDT 2012


On 2012-04-18 05:32, Andrej Mitrovic wrote:

> Simple test-case:
> http://pastebin.com/dcnm4nmA
>
> That's around 15k keys. It takes 31 seconds to serialize. And my
> structures are full of these hashes, so it would likely take an
> eternity to serialize my structures with Orange.
>
> Here's msgpack-d:
> http://pastebin.com/wsRQPiDJ
>
> 6.3 milliseconds to serialize. But it takes 32 milliseconds to
> unserialize, which is 5x slower. On big data structures this
> difference becomes quite noticeable.

I'll take a look at this.

https://github.com/jacob-carlborg/orange/issues/16

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list