Do you have a benchmarked application where the benchmark is showing that foreach/grep,map is the specific bottleneck and causing tens of seconds of extra run time?
I am processing some medium-sized files (1.6 MB to 2.5 MB etc) and notice that the run time goes up from ~ 3 s to 5+ s with grep and map compared to foreach. However, I see now that I can tune things better.
In reply to Re^2: Speed comparison of foreach vs grep + map
by mldvx4
in thread Speed comparison of foreach vs grep + map
by mldvx4
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |