blockservice: optimize getBlocks filter by not rescanning the already valid leading elements #557
Codecov / codecov/project
succeeded
Jan 15, 2024 in 0s
65.54% (-0.02%) compared to 7e0cfb1
View this Pull Request on Codecov
65.54% (-0.02%) compared to 7e0cfb1
Details
Codecov Report
All modified and coverable lines are covered by tests ✅
Comparison is base (
7e0cfb1
) 65.56% compared to head (b2110e6
) 65.54%.
@@ Coverage Diff @@
## 01-15-blockservice_add_WithContentBlocker_option #557 +/- ##
====================================================================================
- Coverage 65.56% 65.54% -0.02%
====================================================================================
Files 204 207 +3
Lines 25583 25654 +71
====================================================================================
+ Hits 16773 16815 +42
- Misses 7335 7361 +26
- Partials 1475 1478 +3
Files | Coverage Δ | |
---|---|---|
blockservice/blockservice.go | 80.12% <100.00%> (+0.30%) |
⬆️ |
Loading