From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/27006 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: beta Date: Mon, 10 Apr 2006 01:32:42 +0200 Message-ID: <4439999A.4080104@wxs.nl> References: <44326BB8.8020202@wxs.nl> <44327A40.9010603@elvenkind.com> <6faad9f00604071807uca3af86kb3362ae0b51f4a04@mail.gmail.com> <4437AE0F.6070004@wxs.nl> <6faad9f00604091450r16afc488l26463959728c3970@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1144625577 29832 80.91.229.2 (9 Apr 2006 23:32:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 9 Apr 2006 23:32:57 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Apr 10 01:32:54 2006 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 ciao.gmane.org with esmtp (Exim 4.43) id 1FSjOn-0003qs-S0 for gctc-ntg-context-518@m.gmane.org; Mon, 10 Apr 2006 01:32:53 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8D70B12797; Mon, 10 Apr 2006 01:32:52 +0200 (CEST) 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 29224-02; Mon, 10 Apr 2006 01:32:45 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 519AD1278E; Mon, 10 Apr 2006 01:32:45 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CEF961278E for ; Mon, 10 Apr 2006 01:32:43 +0200 (CEST) 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 29228-02 for ; Mon, 10 Apr 2006 01:32:43 +0200 (CEST) Original-Received: from mail.pragma-ade.net (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by ronja.ntg.nl (Postfix) with SMTP id 0A5EE1277E for ; Mon, 10 Apr 2006 01:32:42 +0200 (CEST) Original-Received: from [10.100.1.102] (unverified [10.100.1.102]) by controller-1 (SurgeMail 3.5b3) with ESMTP id 11868 for ; Mon, 10 Apr 2006 03:32:42 +0400 User-Agent: Thunderbird 1.5 (Windows/20051201) Original-To: mailing list for ConTeXt users In-Reply-To: <6faad9f00604091450r16afc488l26463959728c3970@mail.gmail.com> X-Server: High Performance Mail Server - http://surgemail.com r=-274017400 X-Authenticated-User: hagen@controller-1 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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:27006 Archived-At: Mojca Miklavec wrote: > On 4/8/06, Hans Hagen wrote: > >> (I wonder is we still need to preload regimes, maybe the ones mostly >> used ... which ones) >> > > If I knew how to do that, I would implement it in the following way: > > Somewhere it would be defined where a specific regime is located > \defineregimefile[cp1250][regi-cp1250] > ... > \defineregimefile[isoir111][regi-cyp] > ... > > Then you don't need to read all those files / preload all those > regimes (except for the really common ones). So if someone says > \enableregime[windows-1250] > then ConTeXt knows that it is a synonym for cp1250, that cp1250 is > located in regi-cp1250.tex and finally loads the appropriate file and > enables the regime. > actually, this is what happens when a regime is not preloaded (i.e. see end of regi-ini) currently: \useregime[def,uni,iso-8858-1,iso-8858-2,cp1252,mac] maybe: \useregime[def,uni] % rest runtime > I don't know what exactly "preloading" means (are the definitions > already included in format or are the files read in at runtime?) I > a few are in the format, eating up hash entries and memory; but since regimes are global anyway ... > doubt that it would save any resources that way, but in case it would, > the regimes might be preloaded depending on mainlanguage. (If someone > typesets Slovenian texts, it would preloa utf, cp1250 and latin2, if > someone typesets russian, you would preload cyrilic regimes, ...) > > Otherwise I would say: if the regimes eat a lot of memory, don't > preload the new ones yet (except cp1250) until someone requests them. > or preload none since loading is fast enough Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------