Title: msgpack unpacking does not memoize string keys · Issue #372 · msgpack/msgpack-python · GitHub
Open Graph Title: msgpack unpacking does not memoize string keys · Issue #372 · msgpack/msgpack-python
X Title: msgpack unpacking does not memoize string keys · Issue #372 · msgpack/msgpack-python
Description: 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...
Open Graph Description: 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...
X Description: 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...
Opengraph URL: https://github.com/msgpack/msgpack-python/issues/372
X: @github
Domain: github.com
IPv4 address: 140.82.113.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"msgpack unpacking does not memoize string keys","articleBody":"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](https://morepypy.blogspot.com/2019/10/pypys-new-json-parser.html). Would there be interest in implementing this feature in msgpack? I'd be happy to do the implementation work, if so.","author":{"url":"https://github.com/cfbolz","@type":"Person","name":"cfbolz"},"datePublished":"2019-11-06T13:56:21Z","url":"https://github.com/msgpack/msgpack-python/issues/372"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:eac1561a-dc34-a06f-2c50-8f9ec7963314 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 82C2:83E67:34C4EE:47E5CB:6B076481 |
| html-safe-nonce | 9ed35a540462fdf2629d9037c38d27d34e481eba19d7e873ab8615fee8d98b9d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MkMyOjgzRTY3OjM0QzRFRTo0N0U1Q0I6NkIwNzY0ODEiLCJ2aXNpdG9yX2lkIjoiNjcxNzMyMzMzODAwMTYzODUyOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | abe077d1128e9377a342562424dc34d93ac31fe81d7ad45aa2ebf6dd3427f7fb |
| hovercard-subject-tag | issue:518488373 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/msgpack/msgpack-python/372/issue_layout |
| twitter:image | https://opengraph.githubassets.com/69081660cc015919b4915295829528992235eec74259144f5922037083e4a60f/msgpack/msgpack-python/issues/372 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/69081660cc015919b4915295829528992235eec74259144f5922037083e4a60f/msgpack/msgpack-python/issues/372 |
| og:image:alt | 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... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | cfbolz |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7a557ecc960a3ae6e299fc66b0bc9132072f8860191648e6749fee5d3ff00d82 |
| turbo-cache-control | no-preview |
| go-import | github.com/msgpack/msgpack-python git https://github.com/msgpack/msgpack-python.git |
| octolytics-dimension-user_id | 198264 |
| octolytics-dimension-user_login | msgpack |
| octolytics-dimension-repository_id | 2242705 |
| octolytics-dimension-repository_nwo | msgpack/msgpack-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 2242705 |
| octolytics-dimension-repository_network_root_nwo | msgpack/msgpack-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | bd845eb7947c1ed8c850f7ab415a51339d162de3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width