>> Then it can simplify writing utility code in order to support
>> different optimization flags in other cases too.
>
> Usually, yes. Look at the dict iteration code, for example, which makes
> pretty heavy use of it.
>
> This may not work in all cases, because the C compiler can decide to *not*
> inline a function, for example, or may not be capable of cutting down the
> code sufficiently in some specific cases.
>
> I agree in general, but I wouldn't say that it's worth changing existing
> (and working) code.
>
Thus the strategy of specialization of code to handle special cases,
while maintaining the existing code, which works well in general, is
the preferred?
_______________________________________________
cython-devel mailing list
cython-devel@python.org
http://mail.python.org/mailman/listinfo/cython-devel

Reply via email to