Skip to content

0xPhaze/clones-with-immutable-args-comparison

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clones With Immutable Args Comparisons

Comparing three methods:

  1. Append immutable args to calldata for every call
  2. Read immutable args from contract code via extcodecopy
  3. Read immutable args via codecopy by calling back into address() via call

Results from 3. are left out in the graph, because it performed similarly, but worse than 2.

results

forge snapshot --mt testGas

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published