http://www.perlmonks.org?node_id=374443


in reply to Re: Re: Re: On Golf
in thread On Golf

Just to beat a dead horse:

in C, a for-loop is smaller but less optimized than writing out each statement seperately.

...unless the unrolled loop's extra code size causes a cache miss across a slow bus, in which case the for-loop is more optimized (assuming, of course, that the loop fits in a cache line).

--
F o x t r o t U n i f o r m
Found a typo in this node? /msg me
% man 3 strfry