From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/26939 Path: main.gmane.org!not-for-mail From: Jan Vroonhof Newsgroups: gmane.emacs.gnus.general Subject: Re: Article size limit for emphasis and buttonization Date: 16 Nov 1999 11:49:08 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: <9t97ljioi80.fsf@mraz.iskon.hr> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035164054 22025 80.91.224.250 (21 Oct 2002 01:34:14 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:34:14 +0000 (UTC) Return-Path: Original-Received: from bart.math.uh.edu (bart.math.uh.edu [129.7.128.48]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id FAA29966 for ; Tue, 16 Nov 1999 05:50:09 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by bart.math.uh.edu (8.9.1/8.9.1) with ESMTP id EAB00704; Tue, 16 Nov 1999 04:50:08 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 16 Nov 1999 04:49:57 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id EAA12730 for ; Tue, 16 Nov 1999 04:49:46 -0600 (CST) Original-Received: from frege.math.ethz.ch (daemon@frege-d-math-north-g-west.math.ethz.ch [129.132.145.3]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id FAA29961 for ; Tue, 16 Nov 1999 05:49:17 -0500 (EST) Original-Received: (from daemon@localhost) by frege.math.ethz.ch (8.9.1/8.9.1) id LAA17537 for ; Tue, 16 Nov 1999 11:49:15 +0100 (MET) Original-Received: from bolzano(129.132.146.140) via SMTP by frege, id smtpdAAAa004Hz; Tue Nov 16 11:49:09 1999 Original-Received: (vroonhof@localhost) by bolzano (SMI-8.6/D-MATH-client) id LAA07024; Tue, 16 Nov 1999 11:49:09 +0100 Original-To: ding@gnus.org In-Reply-To: Hrvoje Niksic's message of "Tue, 16 Nov 1999 10:17:45 GMT" Original-Lines: 25 User-Agent: Gnus/5.070083 (Pterodactyl Gnus v0.83) XEmacs/21.1 (Acadia) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:26939 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:26939 Hrvoje Niksic 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