You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
msgpack unpacking does not memoize string keys #372
In most large msgpack messages, the same kind of object repeats many times, therefore the same keys appear again and again. Many json decoders exploit this and memoize/intern strings, to reduce the memory use of the resulting message and also to reduce decoding time, see for example in PyPy. Would there be interest in implementing this feature in msgpack? I'd be happy to do the implementation work, if so.
Activity
cfbolz commentedon Nov 13, 2019
I had some time so I went ahead and created a pull request: #373
Intern map keys (#381)