Closed hratoanina closed 11 months ago
See 0xPolygonZero/zk_evm#49
We optimize JUMPDEST analysis by:
%increment
The second point makes a loop iteration encountering a JUMPDEST slightly more expensive, but all the others cheaper.
For the ERC20 test, we get the following improvements: CPU trace: 171916 -> 159854 Memory trace: 545553 -> 517626
Kudos, SonarCloud Quality Gate passed!
0 Bugs 0 Vulnerabilities 0 Security Hotspots 0 Code Smells
No Coverage information No Duplication information
See 0xPolygonZero/zk_evm#49
We optimize JUMPDEST analysis by:
%increment
with the table readThe second point makes a loop iteration encountering a JUMPDEST slightly more expensive, but all the others cheaper.
For the ERC20 test, we get the following improvements: CPU trace: 171916 -> 159854 Memory trace: 545553 -> 517626