Open rochdev opened 3 years ago
@darrachequesne Thoughts?
@rochdev create a PR. It's always easier to talk about working code.
p.s. I have no relation to maintainer.
Opened #22
That's an interesting idea! My only concern is the impact on the bundle size, for the browser build. Would custom encoders (suggested here: https://github.com/darrachequesne/notepack/issues/18) help?
Good point. I'll have to check if we could use something like that with our requirements (which are a bit complicated) and will report back. Having an external implementation for custom encoding would definitely remove a lot of the decisions related to built-in support.
I was wondering if support for int64 libraries like long and int64-buffer would be considered. I'm willing to open a PR for
int64-buffer
since it's what we use and is also used by msgpack-lite.This would not add a lot of overhead to the library and would look something like this: