From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/11008 Path: main.gmane.org!not-for-mail From: Jens-Uwe Morawski Newsgroups: gmane.comp.tex.context Subject: Re: mapfiles and pdftex Date: Thu, 13 Feb 2003 16:56:43 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: <20030213165643.6ad9a2ed.morawski@gmx.net> References: <5.1.0.14.1.20030212090614.0231a8e0@server-1> <5.1.0.14.1.20030212090614.0231a8e0@server-1> <5.1.0.14.1.20030213120505.03a2d4a0@server-1> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1045152393 21969 80.91.224.249 (13 Feb 2003 16:06:33 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 13 Feb 2003 16:06:33 +0000 (UTC) Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18jLmI-0005KH-00 for ; Thu, 13 Feb 2003 16:59:58 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 5CBCD10B07; Thu, 13 Feb 2003 17:02:13 +0100 (MET) Original-Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by ref.ntg.nl (Postfix) with SMTP id AE9EC10AF0 for ; Thu, 13 Feb 2003 17:00:54 +0100 (MET) Original-Received: (qmail 10848 invoked by uid 0); 13 Feb 2003 16:00:53 -0000 Original-Received: from port1098.fra.ginko.net (HELO melior.localdomain) (212.202.66.82) by mail.gmx.net (mp012-rz3) with SMTP; 13 Feb 2003 16:00:53 -0000 Original-To: ntg-context@ntg.nl In-Reply-To: <5.1.0.14.1.20030213120505.03a2d4a0@server-1> X-Mailer: Sylpheed version 0.8.9 (GTK+ 1.2.10; i586-pc-linux-gnu) Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:11008 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:11008 On Thu, 13 Feb 2003 12:06:31 +0100 Hans Hagen wrote: > 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) i see its importance and i have nothing against overloading defaults. I mean that the overloading should not work in the way that an later entry replaces a prior entry, instead the map-files that contain the user-settings should be read before pdftex reads the defaults. Then pdftex can take the first match and can stop reading map-files if it has all required entries found. Jens