are optimized by the perl compiler and instead of the perl comparison block an equivalent C function is used.@foo = sort { $a cmp $b } @bar; @foo = sort { $a <=> $b } @bar;
In reply to Re: Yet Another Sort Benchmarking Question
by salva
in thread Yet Another Sort Benchmarking Question
by tlm
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |