-
Notifications
You must be signed in to change notification settings - Fork 10
Description
msgpackr is an optimized msgpack-compatible library.
https://github.com/kriszyp/msgpackr
It has node.js native c++ extension to speed up working with strings, and so it is more on par with native JSON, at least at the node part.
Benchmarks in the article by the author show good performance
link - https://dev.doctorevidence.com/building-the-fastest-js-de-serializer-a413a2b4fb72
Note: But it should be noted that JSON.parse/stringify are benchmarked with string-to-binary and binary-to-string conversion time included. So msgpackr is still slower than JSON in browsers, where there is no custom native extension available.
I've thought may be developers of this package could be interested in exploring this. May be on some next major release on next protocol upgrade or something like that.
Feel free to close this)