(warning: too few iterations for a reliable count)
You can get rid of those warnings by increasing the runtime by saying e.g. cmpthese(-5, .... I did fiddle with it quite a bit, adjusting the string length, runtime, etc. and the results were always consistent that split was fastest by a significant margin.
In reply to Re^2: Is foreach split Optimized?
by haukex
in thread Is foreach split Optimized? (Update: No.)
by haukex
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |