On Wed, 16 May 2012 17:21:25 +0200, Miklos Szigetvari wrote:
>
>Do you have the chance to compare the speed of the two codes ?
> 
Does execution speed always trump code size?  Where should the
tradeoff be?  For example, any loop with a fixed number of
iterations (even a million) could be flattened to linear code; fewer
instructions executed; no test and branch.  (But it might yet be
slower because of instruction cache faults.)

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN

Reply via email to