pike.git / lib / modules / Tools.pmod / Shoot.pmod / Foreach.pike

version» Context lines:

pike.git/lib/modules/Tools.pmod/Shoot.pmod/Foreach.pike:1:   #pike __REAL_VERSION__   inherit Tools.Shoot.Test;      constant name="Foreach (arr,local)";   constant dont_dump_program = 1;    - array const = enumerate(10000000); + int arr_size = 10000000;    - int perform() + array prepare() { return enumerate(arr_size); } +  + int perform(array const_array)   {    int res; -  foreach( const, int i ) +  foreach( const_array, int i )    res=1; -  return sizeof(const); +  return sizeof(const_array);   }