Skip to content

Commit

Permalink
Performance micro-optimizations (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
losfair authored Aug 25, 2022
1 parent edd125f commit a35a0d0
Show file tree
Hide file tree
Showing 8 changed files with 481 additions and 205 deletions.
205 changes: 203 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion mvstore/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ url = "2.2.2"
hex = "0.4.3"
serde = { version = "1", features = ["derive"] }
rmp-serde = "1.1.0"
bytes = "1.2.0"
bytes = { version = "1.2.0", features = ["serde"] }
tokio-util = { version = "0.7.3", features = ["io", "codec"] }
futures = "0.3"
blake3 = "1.3.1"
Expand All @@ -43,3 +43,4 @@ zstd = "0.11.2"
moka = { version = "0.9.3", features = ["future"] }
bloom = "0.3.2"
constant_time_eq = "0.2.4"
heapless = "0.7"
1 change: 1 addition & 0 deletions mvstore/src/fixed_key_vec.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pub type FixedKeyVec = heapless::Vec<u8, 128>;
Loading

0 comments on commit a35a0d0

Please sign in to comment.