Skip to content

Optimize RowBinary map input encoding - #399

Open
ruslandoga wants to merge 1 commit into
masterfrom
rd/reduce-map-input-directly
Open

Optimize RowBinary map input encoding#399
ruslandoga wants to merge 1 commit into
masterfrom
rd/reduce-map-input-directly

Conversation

@ruslandoga

Copy link
Copy Markdown
Collaborator

Encode map inputs directly with map_size/1 and Enum.reduce/3, avoiding the intermediate key/value tuple list created by Map.to_list/1. Preserve empty-map behavior, entry order, and the existing iodata return shape.

Tested with mix test test/ch/row_binary_test.exs (61 tests passed).

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