Skip to content

Fewer ByteString allocations in CPS parser with ByteStringIdx - #46

Draft
mzabani wants to merge 7 commits into
inline-record-row-decodersfrom
cps-parser-fewer-bytestrings
Draft

Fewer ByteString allocations in CPS parser with ByteStringIdx#46
mzabani wants to merge 7 commits into
inline-record-row-decodersfrom
cps-parser-fewer-bytestrings

Conversation

@mzabani

@mzabani mzabani commented Aug 14, 2026

Copy link
Copy Markdown
Owner

Part 2 of performance optimizations

TODO:

  • Make unsafeDecodeWord a safe function by taking a GADT that specifies the Word type/size
  • Check if decoding functions are being inlined in code that passes index 0 as the only argument. We want them to be inlined.

@mzabani mzabani changed the title Fewer ByteString allocations in CPS parser Fewer ByteString allocations in CPS parser with ByteStringIdx Aug 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant