Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions crates/ember-protocol/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ pub enum Frame {
Null,

/// Ordered map of key-value frame pairs, e.g. `%1\r\n+key\r\n+val\r\n`.
///
/// Uses `Vec` instead of `HashMap` to preserve insertion order (RESP3
/// maps are ordered) and because typical maps in Redis responses are
/// small enough that linear scan beats hashing overhead.
Map(Vec<(Frame, Frame)>),
}

Expand Down