Re: Faster UTF-8 decoding in GLib
- From: Daniel Elstner <daniel kitta googlemail com>
- To: Mikhail Zabaluev <mikhail zabaluev gmail com>
- Cc: gtk-devel-list gnome org
- Subject: Re: Faster UTF-8 decoding in GLib
- Date: Tue, 16 Mar 2010 19:59:47 +0200
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]