in reply to Re^3: Turning foreach into map?
in thread Turning foreach into map?

ID be interested to see the EXPR form of the map statements timed too, iirc they are quicker than the block forms.

---
demerphq

Replies are listed 'Best First'.
Re^5: Turning foreach into map?
by ikegami (Patriarch) on Apr 04, 2005 at 22:07 UTC

    No difference. I reran it, and it was never more than 3% in favour of either option.

    Rate t_map_b t_map_e t_map_b 28799/s -- -0% t_map_e 28844/s 0% -- This is perl, v5.6.1 built for MSWin32-x86-multi-thread