On Monday, 3 August 2015 at 12:21:05 UTC, Per Nordlöw wrote:
On Monday, 3 August 2015 at 11:51:24 UTC, Atila Neves wrote:
Yes. `cerealise` and `decerealise`. The former is slightly
weird for performance reasons. It takes a lambda that tells it
what to do with the resulting bytes.
Close with LDC and DMD, faster with GDC:
Are there any plans to add different backends (for instance
msgpack) to Cereal? Then we could have one package to rule them
I'll try Cereal in favor of msgpack next time!
As I tried the changes on the same test as in 
It went on my PC like this:
Cerealed: 2 secs, 854 ms, 687 μs, and 2 hnsecs
MsgPack: 2 secs, 328 ms, 698 μs, and 3 hnsecs
Cerealed: 1 sec, 619 ms, 570 μs, and 9 hnsecs
MsgPack: 1 sec, 554 ms, and 185 μs
Cerealed: 966 ms, 398 μs, and 4 hnsecs
MsgPack: 926 ms, 792 μs, and 3 hnsecs
Cerealed: 1 sec, 97 ms, 892 μs, and 1 hnsec
MsgPack: 1 sec, 138 ms, 359 μs, and 2 hnsecs
So it's almost the same now.