From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/15202 Path: main.gmane.org!not-for-mail From: wmperry@aventail.com (William M. Perry) Newsgroups: gmane.emacs.gnus.general Subject: Re: Regular expression performance in emacs, number of cached regexps Date: 18 May 1998 10:49:46 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: <86n2cfo9yd.fsf@kramer.bp.aventail.com> References: <199805180529.XAA07067@wijiji.santafe.edu> Reply-To: wmperry@aventail.com NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.108) Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035154277 20824 80.91.224.250 (20 Oct 2002 22:51:17 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:51:17 +0000 (UTC) Cc: gsstark@mit.edu, ding@gnus.org, w3-beta@indiana.edu Return-Path: Original-Received: from gwyn.tux.org (gwyn.tux.org [207.96.122.8]) by altair.xemacs.org (8.8.8/8.8.8) with ESMTP id IAA28526 for ; Mon, 18 May 1998 08:58:56 -0700 Original-Received: from sina.hpc.uh.edu (root@Sina.HPC.UH.EDU [129.7.3.5]) by gwyn.tux.org (8.8.8/8.8.8) with ESMTP id LAA26554 for ; Mon, 18 May 1998 11:56:26 -0400 Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id KAH06702; Mon, 18 May 1998 10:55:34 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 18 May 1998 10:51:47 -0500 (CDT) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by sina.hpc.uh.edu (8.7.3/8.7.3) with SMTP id KAA06681 for ; Mon, 18 May 1998 10:51:37 -0500 (CDT) Original-Received: (qmail 9243 invoked by uid 504); 18 May 1998 15:51:17 -0000 Original-Received: (qmail 9240 invoked from network); 18 May 1998 15:51:16 -0000 Original-Received: from vinb13.cntwk.net (HELO slow.in.aventail.com) (207.205.120.155) by claymore.vcinet.com with SMTP; 18 May 1998 15:51:16 -0000 Original-Received: from kramer.bp.aventail.com (kramer.bp.aventail.com [192.168.2.2]) by slow.in.aventail.com (8.8.5/8.8.5) with ESMTP id HAA09762; Mon, 18 May 1998 07:49:40 -0700 Original-Received: (from wmperry@localhost) by kramer.bp.aventail.com (8.8.5/8.8.5) id KAA08278; Mon, 18 May 1998 10:49:46 -0500 Original-To: rms@gnu.org X-Face: O~Rn;(l][/-o1sALg4A@xpE:9-"'IR[%;,,!m7 writes: > I can easily increase this cache size--the question is, how far should I > increase it? > > It was already increased to 20 in Emacs 20. So I don't think I need to > increase it now. How about switching to Emacs 20? Well, as people are wont to say nowadays - memory is cheap, and so is disk. If I'm reading the code right, the regexp cache only takes 398 bytes (worst case on a 64bit machine)... so 20 cache entries are only 7960 (~ 7.75k). I would propose bumping this up to about 64k total (164 entries). This would help _alot_ with gnus and Emacs/W3. -Bill P.