From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/47681 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: reducing compile time Date: Mon, 23 Feb 2009 21:37:42 +0100 Message-ID: <2CC9BE52-D687-4044-8F38-44F71771CEA2@gmail.com> References: <326847810902230916j8b11aacq95a8db16ccbc8024@mail.gmail.com> <326847810902231157kc49bd83i8df988abc0ee28be@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1235423247 31141 80.91.229.12 (23 Feb 2009 21:07:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 Feb 2009 21:07:27 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Feb 23 22:08:43 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1Lbi2d-0007J7-53 for gctc-ntg-context-518@m.gmane.org; Mon, 23 Feb 2009 22:08:43 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A6C861FC93; Mon, 23 Feb 2009 22:07:20 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 23406-02-2; Mon, 23 Feb 2009 22:06:22 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A74521FCE4; Mon, 23 Feb 2009 22:06:22 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0AF1A1FC7B for ; Mon, 23 Feb 2009 22:06:21 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 23406-02 for ; Mon, 23 Feb 2009 22:05:39 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by ronja.ntg.nl (Postfix) with ESMTP id 09DA61FCC7 for ; Mon, 23 Feb 2009 21:38:25 +0100 (CET) Original-Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156]) by filter2-ams.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n1NKcOmZ007400 for ; Mon, 23 Feb 2009 21:38:24 +0100 Original-Received: by fg-out-1718.google.com with SMTP id e21so6588fga.8 for ; Mon, 23 Feb 2009 12:38:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=CeY/Ky7QM2t8Aox0WPuyOj/74o7XQVL8KSN0iXRfxzY=; b=dgtMgbywCjHjZ8XXDzN5rxzWuu9dDZ6VAeWYuCQ5ZOmwu6W16bvfpBU6tyA1R4onrK UcsKEItKv54sjLKS/yFIs4r3Soy50Pn++HZ2a1bUeQ4lL2C+K28LwtA7lPzHI6nU48SV dDeHI7GBDaZMw6U9Is8OZ9A0XT52UWdh/t6hY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=IxEY+hNnZfAlQYnpu/HkQvo1ImX5l2bFtHJ5cfiyjOp53WDhmi4ZtixHjpsL05N2fW KQrLSWCMivocVc/TFrwid8zZm00g8M9pZpqo+SpcnCBTzoA3K6lafDNHfSjd7qXmWcgV 6O1kaQl/6+N6fuT3qqCl2Ze76Lu2oYT1tZz3I= Original-Received: by 10.86.60.14 with SMTP id i14mr3209678fga.21.1235421504376; Mon, 23 Feb 2009 12:38:24 -0800 (PST) Original-Received: from ?10.70.170.125? (8.106.113.82.net.de.o2.com [82.113.106.8]) by mx.google.com with ESMTPS id 4sm88086fgg.55.2009.02.23.12.38.22 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 23 Feb 2009 12:38:23 -0800 (PST) In-Reply-To: <326847810902231157kc49bd83i8df988abc0ee28be@mail.gmail.com> X-Mailer: Apple Mail (2.930.3) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=72.14.220.156; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 184143083 - 9db24b2b720a X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:47681 Archived-At: Am 23.02.2009 um 20:57 schrieb Alan Stone: >> - does using \doifundefined{myMacro}{...} shorten tex runs/compile >> time ? >> >> In which way? > > As I don't know/understand what happens between (Lua)TeX runs, to > keep macro > definitions in memory. The only way to use information from a previous run is to use the auxiliary files or buffers. Macros are defined at each run again but you shouldn't care here about the performance unless you use a very big private module. > - what are the features to avoid for shortest compile times ? >> >> Depends on your document and what do you want. > > My question was intended in a generic way, aka if you use > > - these features ... expect longer or significant longer compile > times, or > - these features ... generate the longest compile times. As Taco mentioned, try to avoid \switchtobodyfont and use \definedfont or \definefont instead. You can also gain a few (micro)seconds when you run TeX in batchmode (no terminal messages). Natural Tables are quite slow and it's sometimes worth to take a look if you can use table or tabulate. Wolfgang ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________