Conversation
|
For string-heavy stuff, JSON is hard to beat because of how it's integrated with the JS engine. But for number and array-heavy loads, msgpack-js is much faster in my testing. |
|
Yeah, that's awesome. Unfortunately there are a lot of string-heavy I'm looking forward to the encoding spec getting some implementations. http://encoding.spec.whatwg.org/ On Mon, Apr 29, 2013 at 8:17 AM, Tim Caswell notifications@github.comwrote:
|
|
Thank you! I intend to use msgpack for loading 3D data in browser, ie. loads of float arrays. I did a little benchmark with 1e6 float array:
|
I was playing around with this in an effort to start supporting the encoding spec. That ended up being a horribly slow bust, but I thought this perf tool might be useful.