[PATCH] ipsum_calc_block: Optimize size and speed

Martin Mares mj at ucw.cz
Fri Apr 23 16:07:38 CEST 2010


> But you can't get rid of:
>  z + (z < sum)
> which is the real bottleneck. Perhaps this doesn't cost much
> on high end CPUs but it sure does on embedded CPUs
Why should it be?  It can be compiled as a sequence of "add with carry"
instructions, can't it?

				Have a nice fortnight
Martin `MJ' Mares                          <mj at ucw.cz>   http://mj.ucw.cz/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
A student who changes the course of history is probably taking an exam.

More information about the Bird-users mailing list