From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/60083 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: context vs texinfo Date: Thu, 08 Jul 2010 09:32:43 +0200 Message-ID: <4C357F1B.9080005@elvenkind.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1278574372 27555 80.91.229.12 (8 Jul 2010 07:32:52 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 8 Jul 2010 07:32:52 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jul 08 09:32:51 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OWlbG-0000ua-Qy for gctc-ntg-context-518@m.gmane.org; Thu, 08 Jul 2010 09:32:50 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A9CBAC9BC6; Thu, 8 Jul 2010 09:32:49 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Yk+M-W7-42cr; Thu, 8 Jul 2010 09:32:49 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BB8E5C9BF4; Thu, 8 Jul 2010 09:32:46 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7EA56C9BF4 for ; Thu, 8 Jul 2010 09:32:45 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id l8aU+nBNqAus for ; Thu, 8 Jul 2010 09:32:43 +0200 (CEST) Original-Received: from plane.elvenkind.com (elvenknd.xs4all.nl [82.95.203.226]) by balder.ntg.nl (Postfix) with ESMTP id 703A0C9BC6 for ; Thu, 8 Jul 2010 09:32:43 +0200 (CEST) Original-Received: from glenlivet.elvenkind.com (glenlivet.elvenkind.com [10.10.0.6]) by plane.elvenkind.com (Postfix) with ESMTP id 45D6280208A6 for ; Thu, 8 Jul 2010 09:32:43 +0200 (CEST) User-Agent: Thunderbird 2.0.0.21 (X11/20090319) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:60083 Archived-At: Hi, Shiv Shankar Dayal wrote: > Hi, > > I was using context and I had to wait for 16 seconds for one run > approximately. I switched to texinfo and it barely takes 2 seconds. A whole 2 seconds? That's ridiculously slow! I just tried to print a document with 'cat | lpr' and it took much less than a tenth of a second! :) > Can you please explain the diffrence? I know context is complex but still? Seriously: you gave the first half of the answer yourself. The second half is that texinfo is very simple. Yes, context is quite a bit slower thanks to extra complexity. I am not going to list all of the things context can do that texinfo cannot as that would take the better part of an hour, but there are a few other reasons as well: * context usually needs three runs the very first time you process a document (but typically only one or two runs after that) and it does these consecutive runs automatically. It keeps running tex until there are no more runs needed, and this sometimes (well, often, to be honest) means that it does one run too many. But one run too much is still a lot better than a wrong link. * context typically is set up to use much larger values for the internal memory arrays, and this results in a slower runtime. You can actually speed up context by reducing its memory footprint to just what is needed for your own typical document types (dont forget to regenerate the formats). Best wishes, Taco ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________