in reply to map versus for

I do have PBP in front of me, and the focus is definitely on style, rather than performance. Perhaps there are some applications for which map is significantly faster than for, but, judging by your experiment, the code example in the book seems not to be one of them.

A related discussion (with more links and examples) is Map: The Basics in the Tutorials section.