[Python-Dev] Split unicodeobject.c into subfiles

Maciej Fijalkowski fijall at gmail.com
Thu Oct 25 12:07:41 CEST 2012


>
> I think you misunderstood. What I described is the reason for having
> the base codecs in unicodeobject.c.
>
> I think we all agree that inlining has a positive effect on
> performance. The scale of the effect depends on the used compiler
> and platform.
>

Well. Inlining can have positive or negative effects, depending on
various details. Too much inlining causes more cache misses for
example. However, this is absolutely irrelevant if you don't create
benchmarks and run them. Guessing is seriously not a very good
optimization strategy.

Cheers,
fijal


More information about the Python-Dev mailing list