Is this allocation free (gc free)? #58
Answered
by
piotrrzysko
mason124124
asked this question in
Q&A
-
Thanks for sharing this. I can see the benchmark is pretty amazing, however, may I ask is this allocation free? |
Beta Was this translation helpful? Give feedback.
Answered by
piotrrzysko
Oct 20, 2024
Replies: 1 comment 1 reply
-
Currently, it is not GC-free, because, for example, it creates JsonValue objects for every parsed JSON. However, the main data structures are allocated only once (when a |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
mason124124
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, it is not GC-free, because, for example, it creates JsonValue objects for every parsed JSON. However, the main data structures are allocated only once (when a
SimdJsonParser
instance is created), so I belive it wouldn't be difficult to introduce a GC-free version.