-
- Downloads
Minimize overhead in the (sadly needed) body of the loop.
If the body of the loop is removed, the foreach() is optimized away. Also, the assignment of the global counter is removed as well in the versions that use a global variable, which is really a bug.
Showing
- lib/modules/Tools.pmod/Shoot.pmod/Foreach.pike 1 addition, 3 deletionslib/modules/Tools.pmod/Shoot.pmod/Foreach.pike
- lib/modules/Tools.pmod/Shoot.pmod/Foreach2.pike 1 addition, 3 deletionslib/modules/Tools.pmod/Shoot.pmod/Foreach2.pike
- lib/modules/Tools.pmod/Shoot.pmod/Foreach3.pike 1 addition, 1 deletionlib/modules/Tools.pmod/Shoot.pmod/Foreach3.pike
- lib/modules/Tools.pmod/Shoot.pmod/Foreach4.pike 1 addition, 1 deletionlib/modules/Tools.pmod/Shoot.pmod/Foreach4.pike
Loading
Please register or sign in to comment