Skip to content

Conversation

@rizkyikiw42
Copy link
Contributor

Replace chained append operations with pre-allocated buffers in headerKey, headerHashKey, blockBodyKey, and blockReceiptsKey functions. Benchmark shows ~50% performance improvement and 50% reduction in allocations for these frequently called database key construction functions.

image

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