Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(ccc): less magic numbers #1346

Merged
merged 4 commits into from
Jun 23, 2024
Merged

refactor(ccc): less magic numbers #1346

merged 4 commits into from
Jun 23, 2024

Conversation

lispc
Copy link

@lispc lispc commented Jun 23, 2024

Remove some magic numbers.

we can update "avg_trie_depth" later. Seems 35 even 32 would be safe enough?

trie_depth 22, hash num 3511, mpt update num 154
trie_depth 24, hash num 9280, mpt update num 385
trie_depth 23, hash num 6649, mpt update num 284
trie_depth 21, hash num 4629, mpt update num 212
trie_depth 25, hash num 3842, mpt update num 151
trie_depth 26, hash num 5874, mpt update num 220
trie_depth 29, hash num 7464, mpt update num 250
trie_depth 25, hash num 5036, mpt update num 195
trie_depth 24, hash num 4574, mpt update num 186
trie_depth 25, hash num 5271, mpt update num 209
trie_depth 19, hash num 5295, mpt update num 267
trie_depth 20, hash num 6442, mpt update num 311
trie_depth 26, hash num 3622, mpt update num 137
trie_depth 27, hash num 4786, mpt update num 176
trie_depth 30, hash num 3023, mpt update num 100
trie_depth 30, hash num 4349, mpt update num 141
trie_depth 24, hash num 6961, mpt update num 287
trie_depth 20, hash num 5072, mpt update num 249
trie_depth 22, hash num 5596, mpt update num 246
trie_depth 22, hash num 4962, mpt update num 216
trie_depth 23, hash num 1960, mpt update num 85
trie_depth 24, hash num 9751, mpt update num 394
trie_depth 26, hash num 5080, mpt update num 194
trie_depth 25, hash num 2292, mpt update num 90
trie_depth 25, hash num 2296, mpt update num 90

@lispc lispc marked this pull request as ready for review June 23, 2024 06:28
@lispc lispc changed the title Refactor/ccc refactor(ccc): less magic numbers Jun 23, 2024
@lispc lispc merged commit e3c2e63 into develop Jun 23, 2024
32 checks passed
@lispc lispc deleted the refactor/ccc branch June 23, 2024 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant