At 03:07 PM 2/12/2003 +0100, you wrote:
On Wed, 12 Feb 2003 09:09:31 +0100 Hans Hagen
wrote: At 08:53 AM 2/12/2003 +0100, you wrote:
Hartmut Henkel
writes: So there might be some corner for improvement. Using strcmp() the reverse way seems not to speed up things; how to write a more sophisticated inequality-checker?
Heiko stated that he used a hash table for this. This will speed up things dramatically.
but if i remember right he only looked at the first 8 chars (assuming berry) which is not that useful for texnansi-* files -)
the best way (imo) is to let later entries overload previous ones, so not much checking is needed at all;
I remember this discussion on the pdftex-list and can still not understand why we should look for overloaded entries. pdftex should take the first match.
no, the last one, since users may want to overload the defaults (quite important if you use pseudo caps/slant/extend) Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------