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




_______________________________________________
Performance-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/performance-list

Reply via email to