-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Labels
perfIncrease performancesIncrease performances
Description
Code hashes depend deterministically only on the tuple (address, depNum, depStatus) (with depStatus = true having trivial code hash, anyways). A growing map with such tuples as keys and hashes as values would prevent lots of duplicate code hash computations in
Lines 170 to 173 in 49c71be
| .pAccountCodeHashHi(oldState.tracedCodeHash().hi()) | |
| .pAccountCodeHashLo(oldState.tracedCodeHash().lo()) | |
| .pAccountCodeHashHiNew(newState.tracedCodeHash().hi()) | |
| .pAccountCodeHashLoNew(newState.tracedCodeHash().lo()) |
Metadata
Metadata
Assignees
Labels
perfIncrease performancesIncrease performances