Skip to content

Commit

Permalink
Merge pull request ethereum#12012 from ethereum/solc-runs-text
Browse files Browse the repository at this point in the history
Improve `--optimize-runs` text
  • Loading branch information
chriseth authored Sep 23, 2021
2 parents 72fc344 + 34b8477 commit 9552270
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion solc/CommandLineParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,7 @@ General Information)").c_str(),
// TODO: The type in OptimiserSettings is size_t but we only accept values up to 2**32-1
// on the CLI and in Standard JSON. We should just switch to uint32_t everywhere.
po::value<unsigned>()->value_name("n")->default_value(static_cast<unsigned>(OptimiserSettings{}.expectedExecutionsPerDeployment)),
"Set for how many contract runs to optimize. "
"The number of runs specifies roughly how often each opcode of the deployed code will be executed across the lifetime of the contract. "
"Lower values will optimize more for initial deployment cost, higher values will optimize more for high-frequency usage."
)
(
Expand Down

0 comments on commit 9552270

Please sign in to comment.