Skip to content

Conversation

Oppen
Copy link
Contributor

@Oppen Oppen commented Oct 14, 2025

  • feat(l1): more efficient trie validation
  • reduce branching
  • fixes

Motivation

Description

Closes #issue_number

Copy link

Lines of code report

Total lines added: 32
Total lines removed: 10
Total lines changed: 42

Detailed view
+--------------------------------------+-------+------+
| File                                 | Lines | Diff |
+--------------------------------------+-------+------+
| ethrex/crates/common/trie/trie.rs    | 934   | +32  |
+--------------------------------------+-------+------+
| ethrex/crates/networking/p2p/sync.rs | 1477  | -10  |
+--------------------------------------+-------+------+

Copy link

Benchmark for 2f12cbf

Click to view benchmark
Test Base PR %
Trie/cita-trie insert 10k 34.2±0.62ms 34.8±0.53ms +1.75%
Trie/cita-trie insert 1k 3.6±0.03ms 3.6±0.16ms 0.00%
Trie/ethrex-trie insert 10k 54.1±0.91ms 54.6±0.52ms +0.92%
Trie/ethrex-trie insert 1k 6.1±0.04ms 6.1±0.05ms 0.00%

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