Gnus development mailing list
 help / color / mirror / Atom feed
From: Jan Vroonhof <vroonhof@math.ethz.ch>
Subject: Re: Article size limit for emphasis and buttonization
Date: 16 Nov 1999 11:49:08 +0100	[thread overview]
Message-ID: <byaeoe7luj.fsf@bolzano.math.ethz.ch> (raw)
In-Reply-To: Hrvoje Niksic's message of "Tue, 16 Nov 1999 10:17:45 GMT"

Hrvoje Niksic <hniksic@iskon.hr> writes:

> I've just received a huge email on xemacs-patches, and it took several
> seconds to display -- that on my brand new Pentium 3, in an XEmacs
> built with all optimizations and no debugging!

If are talking about Martin's "man & Make" patch

34 seconds (Ultra 1, with 64 MB)

> The regexp in question is in fact a list of beautiful regexps, that
> looks like this:
> 
>
> (("\\(\\s-\\|^\\)\\(_\\(\\(\\w\\|_[^_]\\)+\\)_\\)\\(\\s-\\|[?!.,;]\\)" 2 3 gnus-emphasis-underline)

Is there any chance this stuff can be sped up. For instance with
non-greedy  regexps, optimized or not using regexps at all?
Doesn't Gnus have to scan over the buffer anyway? So why are these so
much slower?

Since this is all user eye candy: It really should do stuff like this
lazily (yes, I know you hate that).

Jan


  reply	other threads:[~1999-11-16 10:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-16 10:15 Hrvoje Niksic
1999-11-16 10:49 ` Jan Vroonhof [this message]
1999-11-16 10:59   ` Hrvoje Niksic
1999-11-16 11:32 ` Tibor Simko
1999-11-16 11:39   ` Hrvoje Niksic
1999-11-16 12:38     ` Tibor Simko
1999-11-16 17:02 ` Lars Magne Ingebrigtsen

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=byaeoe7luj.fsf@bolzano.math.ethz.ch \
    --to=vroonhof@math.ethz.ch \
    /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).