-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Investigate better binary data support #29
Labels
enhancement
New feature or request
Comments
See discussion here - cl-babel/babel#39 it appears babel doesn't have a way to do this at the moment |
Zulu-Inuoe
added a commit
that referenced
this issue
Feb 24, 2023
Embed a UTF-8 Decoder to avoid going through flexi-streams or babel Fixes #29
Zulu-Inuoe
added a commit
that referenced
this issue
Feb 24, 2023
Embed a UTF-8 Decoder to avoid going through flexi-streams or babel Fixes #29
Zulu-Inuoe
added a commit
that referenced
this issue
Feb 25, 2023
Embed a UTF-8 Decoder to avoid going through flexi-streams or babel * Consolidate pos calculation to `%calc-pos` Fixes #29
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
jzon performs great when given strings, but when given binary data it falls back on flexi-streams to provide a translation layer.
Unfortunately, this causes jzon to slow down tremendously.
I'd hope there's more performant ways to do this parsing that don't involve a mountain of effort. Off the top of my head, we may ditch
flexi-streams
and rely onbabel
functions to iterate over a UB8 vector and/or stream.While a decrease of performance is tolerable, here are some benchmarks on my system when using a
simple-string
-jzon
, and(simple-array (unsigned-byte 8) (*))
-jzon-ub8
:The text was updated successfully, but these errors were encountered: