[PATCH] ipsum_calc_block: Optimize size and speed

Joakim Tjernlund joakim.tjernlund at transmode.se
Fri Apr 23 16:14:58 CEST 2010

> Hello!
> > 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?

Yes, but have you seen gcc do that? I havn't, perhaps gcc has become smarter


More information about the Bird-users mailing list