jangko / msgpack4nim

MessagePack serializer/deserializer implementation for Nim / msgpack.org[Nim]
http://msgpack.org/
119 stars 21 forks source link

Performance decreased between `head` vs `v0.3.1` #75

Open georgelemon opened 1 year ago

georgelemon commented 1 year ago

Hey,

I'm using your awesome package to pack/unpack big AST (ref nodes) in Bro package, a wip stylesheet language (alternative to SASSC / DartSass, SassJS.)

Unpacking 114mb with v0.3.1: 0.734594596

Unpacking the same file with #head version: 1.201364966

I'm using cpuTime() to get the numbers

jangko commented 1 year ago

hmm, probably because of nim std streams.