From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/15205 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.gnus.general Subject: Re: Regular expression performance in emacs, number of cached regexps Date: Mon, 18 May 1998 22:45:12 -0600 Sender: owner-ding@hpc.uh.edu Message-ID: <199805190445.WAA09004@wijiji.santafe.edu> References: <199805180529.XAA07067@wijiji.santafe.edu> <86n2cfo9yd.fsf@kramer.bp.aventail.com> Reply-To: rms@gnu.org NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035154279 20834 80.91.224.250 (20 Oct 2002 22:51:19 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:51:19 +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 VAA03242 for ; Mon, 18 May 1998 21:56:00 -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 AAA00544 for ; Tue, 19 May 1998 00:53:29 -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 XAH24030; Mon, 18 May 1998 23:53:26 -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 23:50:21 -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 XAA24015 for ; Mon, 18 May 1998 23:50:13 -0500 (CDT) Original-Received: (qmail 12846 invoked by uid 504); 19 May 1998 04:49:53 -0000 Original-Received: (qmail 12843 invoked from network); 19 May 1998 04:49:53 -0000 Original-Received: from sfi.santafe.edu (192.12.12.1) by claymore.vcinet.com with SMTP; 19 May 1998 04:49:53 -0000 Original-Received: from wijiji.santafe.edu by sfi.santafe.edu (4.1/SMI-4.1) id AA12084; Mon, 18 May 98 22:45:12 MDT Original-Received: by wijiji.santafe.edu (SMI-8.6/SMI-SVR4) id WAA09004; Mon, 18 May 1998 22:45:12 -0600 Original-To: wmperry@aventail.com In-Reply-To: <86n2cfo9yd.fsf@kramer.bp.aventail.com> (wmperry@aventail.com) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:15205 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:15205 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). There must be a misunderstanding, because the data in a cache entry has variable size. Perhaps you're looking only at the cache structure itself and not its contents.