Re: VTE performance work (done)



On Fri, 2006-02-10 at 09:17, Behdad Esfahbod wrote:
> 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.

Oh, you're right. It's even required on some architectures.

	Xav





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