Help for this page
{ # closure for qm ... } } # sub qm } # closure qm
use constant STICK2 => [ 15, map( ($_) x 2, 15..23 ), (24) x 100 ]; sub stick2{ ... # changed to "<=", and "15" return $q <= $_[1] ? 15 : $q; } # sub stick2
Rate kutsu davidrw_2 davidrw_1 ternary op_orig qm op_c +mp2 stick2 kutsu 37118/s -- -19% -33% -92% -92% -94% - +94% -95% ... qm 571464/s 1440% 1142% 925% 23% 22% -- - +12% -28% op_cmp2 650147/s 1652% 1313% 1066% 40% 39% 14% + -- -18% stick2 788323/s 2024% 1614% 1314% 70% 68% 38% +21% --