Commit 13c455c
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 13c455c
11 files changed
Lines changed: 1296 additions & 1580 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 | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| 120 | + | |
120 | 121 | | |
| 122 | + | |
121 | 123 | | |
122 | 124 | | |
123 | 125 | | |
| |||
0 commit comments