perf: faster WarmAddresses short precompile bits lookup#3745
Open
borngraced wants to merge 1 commit into
Open
Conversation
borngraced
force-pushed
the
faster-warm-addresses-short-precompile-bits-lookup
branch
from
June 7, 2026 03:08
95a6598 to
1e6a772
Compare
Merging this PR will improve performance by 4.02%
|
| Mode | Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|---|
| ⚡ | Simulation | EXTCODECOPY_50 |
51.7 µs | 49.7 µs | +4.02% |
Tip
Curious why this is faster? Comment @codspeedbot explain why this is faster on this PR, or directly use the CodSpeed MCP with your agent.
Comparing borngraced:faster-warm-addresses-short-precompile-bits-lookup (f9e7ff3) with main (cfcf038)
Footnotes
-
1 benchmark was skipped, so the baseline result was used instead. If it was deleted from the codebase, click here and archive it to remove it from the performance reports. ↩
borngraced
force-pushed
the
faster-warm-addresses-short-precompile-bits-lookup
branch
from
June 7, 2026 03:10
1e6a772 to
b567322
Compare
borngraced
marked this pull request as draft
June 7, 2026 04:09
nits use direct path to std format fix clippy run zepter fix backward compatibility
borngraced
force-pushed
the
faster-warm-addresses-short-precompile-bits-lookup
branch
from
June 7, 2026 04:45
a36606f to
f9e7ff3
Compare
borngraced
marked this pull request as ready for review
June 7, 2026 04:45
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
is_warm/is_cold(via the short precompile │ bitset) is on a very hot path. This optimization removes thebitvec + Arcoverhead by using a fixed size array[u8; 38]with direct bit manipulation, matching the technique from #2618.This is a rough estimate microbenchmark numbers from my machine.. can be faster on yours.
Benchmark
Also got rid of the
bitvecdep fromcontextcrate