NethermindEth / Paprika

A custom storage engine of Nethermind, benefiting from the alignment of the underlying data structure with the layout of State & Storage trees of Ethereum.
GNU Lesser General Public License v3.0
89 stars 11 forks source link

SlottedArray faster search #369

Closed Scooletz closed 2 months ago

Scooletz commented 2 months ago

This PR augments SlottedArray to make it faster so that the data application is faster as well.

  1. 4c0a052 - TryGetImpl changed from bool returning to index returning results in shorter code, from 809 to 777
  2. 70e765d - removed not needed IsDeleted check ; Total bytes of code 738
github-actions[bot] commented 2 months ago

Code Coverage

Package Line Rate Branch Rate Health
Paprika 85% 80%
Summary 85% (4217 / 4955) 80% (1356 / 1696)

Minimum allowed line rate is 75%

Scooletz commented 2 months ago

Will be replaced by #370 and a custom augmentation of the search