[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: occur slower than grep by a longshot

From: Eli Zaretskii
Subject: Re: occur slower than grep by a longshot
Date: Thu, 22 Nov 2001 17:23:37 +0200

On 22 Nov 2001, Dan Jacobson wrote:

> Fellas, it's just so obvious,
> the difference in speed between
> (shell-command-on-region (region-beginning) (region-end) "grep /" nil nil nil)
> and
> (occur "/" nil) [<--slow]
> on say a 20000 line ls-R ftp listing.

What's your point?  Isn't it obvious that a Lisp code run by an
interpreter would be slower than a tight optimized C program?

> [which by the way has line
> number "L??" in the modeline--- because the file is in chinese?"

No, because the file is too large.  See the variable 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]