From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/6436 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: xtag-ini.tex patch Date: Thu, 21 Jun 2001 16:11:02 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20010621160641.03b8ebc8@server-1> References: <20020621140046.6fae57ae.taco@elvenkind.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1035396966 10582 80.91.224.250 (23 Oct 2002 18:16:06 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:16:06 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: Taco Hoekwater In-Reply-To: <20020621140046.6fae57ae.taco@elvenkind.com> Xref: main.gmane.org gmane.comp.tex.context:6436 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:6436 At 02:00 PM 6/21/2002 +0200, Taco Hoekwater wrote: >Hi Hans, all, > >This is a speed patch for the XML attribute parser: will look into it (seems like you removed some erro recovery, which is ok since input is assumed to be ok) \def\dodoparseXMLargumentsX#1=#2{% > \edef\@@XMLname{\the\XMLtoks#1}% > \@EA\getXMLNSSSS\@@XMLname :\relax > \XMLtoks\emptytoks > \if#2"% > \let\dodoparseXMLarguments\dodoparseXMLargumentsD > \else > \let\dodoparseXMLarguments\dodoparseXMLargumentsS > \fi > \dodoparseXMLarguments >} then, talking about speed, how about \if#2"% \expandafter\dodoparseXMLargumentsD \else \expandafter\dodoparseXMLargumentsS \fi ------------------------------------------------------------------------- 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 -------------------------------------------------------------------------