Commit 65e36e5
committed
feat!: Optimize JSON key deserialization with arena-based interning
- Add KeyArena in src/string.rs for per-document string deduplication
- Refactor Value deserialization to intern object keys via ValueSeed
- Ensure no_std compatibility with hashbrown + FxHasher
- Add unit test confirming Rc<str> reuse across deserialized objects
- Update Cargo.toml with hashbrown and rustc-hash dependencies
Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com>1 parent 1e4ff95 commit 65e36e5
11 files changed
Lines changed: 1297 additions & 1581 deletions
File tree
- bindings
- ffi
- java
- python
- ruby
- wasm
- mimalloc/mimalloc-sys
- src
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| 120 | + | |
120 | 121 | | |
| 122 | + | |
121 | 123 | | |
122 | 124 | | |
123 | 125 | | |
| |||
0 commit comments