in reply to Re: Is foreach split Optimized?
in thread Is foreach split Optimized? (Update: No.)
(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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Is foreach split Optimized?
by Marshall (Canon) on Jul 09, 2017 at 11:57 UTC | |
by haukex (Archbishop) on Jul 09, 2017 at 12:27 UTC | |
by Marshall (Canon) on Jul 09, 2017 at 13:02 UTC |