mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
yul-phaser README: --no-optimize-yul options is not really necessary
This commit is contained in:
parent
d932c58b56
commit
5d4b9022f0
@ -66,14 +66,11 @@ tools/yul-phaser *.yul \
|
|||||||
`yul-phaser` can process the intermediate representation produced by `solc`:
|
`yul-phaser` can process the intermediate representation produced by `solc`:
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
solc/solc <sol file> \
|
solc/solc <sol file> --ir --output-dir <output directory>
|
||||||
--ir \
|
|
||||||
--no-optimize-yul \
|
|
||||||
--output-dir <output directory>
|
|
||||||
```
|
```
|
||||||
|
|
||||||
After running this command you'll find one or more .yul files in the output directory.
|
After running this command you'll find one or more .yul files in the output directory.
|
||||||
These files contain whole Yul objects rather than just raw Yul programs but `yul-phaser` is prepared to handle them.
|
These files contain whole Yul objects rather than just raw Yul programs but `yul-phaser` is prepared to handle them too.
|
||||||
|
|
||||||
### How to choose good parameters
|
### How to choose good parameters
|
||||||
Choosing good parameters for a genetic algorithm is not a trivial task but phaser's defaults are generally enough to find a sequence that gives results comparable or better than one hand-crafted by an experienced developer for a given set of programs.
|
Choosing good parameters for a genetic algorithm is not a trivial task but phaser's defaults are generally enough to find a sequence that gives results comparable or better than one hand-crafted by an experienced developer for a given set of programs.
|
||||||
|
Loading…
Reference in New Issue
Block a user