Skip to content

Improve streaming RowBinary decoding - #404

Open
ruslandoga wants to merge 1 commit into
masterfrom
rd/streaming-memory-efficiency
Open

Improve streaming RowBinary decoding#404
ruslandoga wants to merge 1 commit into
masterfrom
rd/streaming-memory-efficiency

Conversation

@ruslandoga

Copy link
Copy Markdown
Collaborator

Adds stateful header decoding so fragmented headers resume without reparsing earlier bytes. Stores partial variable-length strings as continuation chunks and adds an opt-in copy_strings: true policy to detach decoded values from large response binaries. Header strings are copied automatically, and byte-by-byte plus binary-retention coverage exercises the new behavior. Tests: MIX_ENV=test mix test test/ch/row_binary_test.exs; MIX_ENV=test mix compile --warnings-as-errors.

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