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

version» Context lines:

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