[Python-Dev] Third milestone of FAT Python
MRAB
python at mrabarnett.plus.com
Fri Dec 4 14:16:49 EST 2015
More information about the Python-Dev mailing list
Fri Dec 4 14:16:49 EST 2015
- Previous message (by thread): [Python-Dev] Third milestone of FAT Python
- Next message (by thread): [Python-Dev] Third milestone of FAT Python
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 2015-12-04 12:49, Victor Stinner wrote: [snip] > Constant folding > ================ > > This optimization propagates constant values of variables. Example: > > def func() > x = 1 > y = x > return y > > Constant folding: > > def func() > x = 1 > y = 1 > return 1 > [snip] I don't think that's constant folding, but constant _propagation_. Constant folding is when, say, "1 + 2" replaced by "2".
- Previous message (by thread): [Python-Dev] Third milestone of FAT Python
- Next message (by thread): [Python-Dev] Third milestone of FAT Python
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list