Skip to content

refactor: ember-protocol types.rs documentation - #120

Merged
kacy merged 1 commit into
mainfrom
refactor/ember-protocol
Feb 14, 2026
Merged

refactor: ember-protocol types.rs documentation#120
kacy merged 1 commit into
mainfrom
refactor/ember-protocol

Conversation

@kacy

@kacy kacy commented Feb 14, 2026

Copy link
Copy Markdown
Owner

summary

adds a comment on Frame::Map explaining why Vec<(Frame, Frame)> was chosen
over HashMap — preserves RESP3 insertion order and avoids hashing overhead
for the small maps typical in redis responses.

what was tested

  • cargo check -p ember-protocol
  • existing tests pass

preserves insertion order (RESP3 maps are ordered) and avoids
hashing overhead for the small maps typical in redis responses.
@kacy
kacy merged commit c0b65f0 into main Feb 14, 2026
7 checks passed
@kacy
kacy deleted the refactor/ember-protocol branch February 14, 2026 21:48
kacy added a commit that referenced this pull request Feb 19, 2026
preserves insertion order (RESP3 maps are ordered) and avoids
hashing overhead for the small maps typical in redis responses.
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