Avatar for the alloy-rs user
alloy-rs
trie
BlogDocsChangelog

perf: rewrite RlpNode internals with manual u8 length + MaybeUninit buffer

#133Merged
Comparing
danipopes/rlpnode-internals
(
b0bf712
) with
main
(
6e42e13
)
CodSpeed Performance Gauge
+14%
Improvement
1
Untouched
3

Benchmarks

4 total
trie[64]
benches/bench.rs::benches::nibbles_path_encoding::encode_path_leaf
CodSpeed Performance Gauge
+14%
464.7 ns406.4 ns
trie[8]
benches/bench.rs::benches::nibbles_path_encoding::encode_path_leaf
CodSpeed Performance Gauge
+7%
432.2 ns403.1 ns
trie[16]
benches/bench.rs::benches::nibbles_path_encoding::encode_path_leaf
CodSpeed Performance Gauge
+7%
435.3 ns406.1 ns
trie[32]
benches/bench.rs::benches::nibbles_path_encoding::encode_path_leaf
CodSpeed Performance Gauge
+7%
441.4 ns412.2 ns

Commits

Click on a commit to change the comparison range
Base
main
6e42e13
+14.35%
perf: rewrite RlpNode internals with manual u8 length + MaybeUninit buffer
e75c44b
1 month ago
by gakonst
0%
chore: remove unnecessary doc comment
6b23d7e
1 month ago
by gakonst
0%
chore: remove unnecessary comment
85024e1
1 month ago
by gakonst
0%
fix: replace panicking serde impl with proper error handling
78fd3fe
1 month ago
by gakonst
-14.35%
refactor: use derive for Copy and Clone
9576b2c
1 month ago
by gakonst
0%
fix: no_std compatible serde impl
72b3c35
1 month ago
by gakonst
0%
fix: resolve clippy errors from RlpNode being Copy
e3593ae
1 month ago
by gakonst
+14.35%
refactor: replace Copy derive with manual Clone via ptr::read
b0bf712
1 month ago
by gakonst
© 2026 CodSpeed Technology
Home Terms Privacy Docs