Re: VTE performance work (done)
- From: Behdad Esfahbod <behdad cs toronto edu>
- To: Xavier Bestel <xavier bestel free fr>
- Cc: performance-list gnome org
- Subject: Re: VTE performance work (done)
- Date: Fri, 10 Feb 2006 03:17:39 -0500 (EST)
On Fri, 10 Feb 2006, Xavier Bestel wrote:
> On Fri, 2006-02-10 at 01:13, Behdad Esfahbod wrote:
> > * For two letter sequences, use a struct { char seq[3], uchar
> > handler } for a total of 1.2kb and no relocations, sorted on seq.
>
> Make that { char seq[2], uchar handler } for a total < 1k, and a simpler
> comparison : *(gint16*)s[i].seq == *(gint16)letters
Ok thanks. Just implementing :). Not sure if no padding is
added though.
--behdad
http://behdad.org/
"Commandment Three says Do Not Kill, Amendment Two says Blood Will Spill"
-- Dan Bern, "New American Language"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]