Is this allocation free (gc free)? #58
Answered bypiotrrzysko
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? |
BetaWas this translation helpful?Give feedback.
Answered by piotrrzysko Oct 20, 2024
Replies: 1 comment 4 replies
-
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 |
BetaWas this translation helpful?Give feedback.
4 replies
Answer selected bymason124124
Sign up for freeto 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
SimdJsonParserinstance is created), so I belive it wouldn't be difficult to introduce a GC-free version.