Re: Faster UTF-8 decoding in GLib



Hi,

Am Dienstag, den 16.03.2010, 19:49 +0200 schrieb Mikhail Zabaluev:

> I'm wary of inlining non-trivial code which has some branching in it,
> for the same reasons of cache pressure, killing branch prediction, and
> so on.

Well yes.  That's why I would have liked numbers. :-)  In any case, I
expect my solution to actually compete best if *not* inline, because it
avoids the GOT lookup, which would be another nested function call on
i386.  Without the GOT lookup, it becomes a true leaf function.

--Daniel




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]