Gnus development mailing list
 help / color / mirror / Atom feed
From: wmperry@aventail.com (William M. Perry)
Cc: gsstark@mit.edu, ding@gnus.org, w3-beta@indiana.edu
Subject: Re: Regular expression performance in emacs, number of cached regexps
Date: 19 May 1998 08:52:19 -0500	[thread overview]
Message-ID: <86som6jrl8.fsf@kramer.bp.aventail.com> (raw)
In-Reply-To: Richard Stallman's message of "Mon, 18 May 1998 22:45:12 -0600"

Richard Stallman <rms@santafe.edu> writes:

>     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.

  I was assuming this was fairly small - how bad could a pathological posix 
regexp get? :)  Another 64k total?  Megabytes?  I've never delved too much
into the internals of regexp matching - it scares me.

-Bill P.


  reply	other threads:[~1998-05-19 13:52 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-05-17 17:49 Gregory S. Stark
1998-05-17 19:20 ` Kai Grossjohann
     [not found] ` <vafhg2o1z7k.fsf@ramses..cs.uni-dortmund.de>
1998-05-17 19:33   ` Hrvoje Niksic
1998-05-18  5:29 ` Richard Stallman
1998-05-18 15:49   ` William M. Perry
1998-05-19  4:45     ` Richard Stallman
1998-05-19 13:52       ` William M. Perry [this message]
1998-05-20  1:38         ` Richard Stallman
1998-05-20  6:43       ` Dale Hagglund
1998-05-20 11:47         ` William M. Perry
1998-05-21  7:13         ` Richard Stallman
1998-05-19  7:55   ` Jan Vroonhof

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86som6jrl8.fsf@kramer.bp.aventail.com \
    --to=wmperry@aventail.com \
    --cc=ding@gnus.org \
    --cc=gsstark@mit.edu \
    --cc=w3-beta@indiana.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).