forked from 0xPolygon/polygon-edge
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pooling of big.Int instances in the EVM (#124)
* Multiple performance improvements: - Pooling of big.Int instances on the stack to avoid frequent allocations/cleanup - Removing unnecessary big.Int allocation in pop() method and fixing tests - Avoiding unnecessary op.String() calls when tracer is not initialized. * - Fixing failed TestNewUnsafePool test. * Remove unnecessary case * TestPush0 fix --------- Co-authored-by: Goran Rojovic <[email protected]>
- Loading branch information
1 parent
536d3d5
commit f2b212e
Showing
4 changed files
with
155 additions
and
36 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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