[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: occur slower than grep by a longshot
From: |
Dan Jacobson |
Subject: |
Re: occur slower than grep by a longshot |
Date: |
24 Nov 2001 08:35:24 +0800 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
>>>>> "E" == Eli Zaretskii <eliz@is.elta.co.il> writes:
>> 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.
E> What's your point? Isn't it obvious that a Lisp code run by an
E> interpreter would be slower than a tight optimized C program?
I dunno, maybe internally have the real grep to do the hard work, by
default, but keep the original occur code around for in case the user
does not have grep on their operating system?
--
http://www.geocities.com/jidanni/ Tel+886-4-25854780
- occur slower than grep by a longshot, Dan Jacobson, 2001/11/22
- Re: occur slower than grep by a longshot, Eli Zaretskii, 2001/11/22
- Re: occur slower than grep by a longshot,
Dan Jacobson <=
- Re: occur slower than grep by a longshot, Eli Zaretskii, 2001/11/25
- Re: occur slower than grep by a longshot, Dan Jacobson, 2001/11/26
- Re: occur slower than grep by a longshot, David Kastrup, 2001/11/26
- Re: occur slower than grep by a longshot, Eli Zaretskii, 2001/11/26
- Re: occur slower than grep by a longshot, David Kastrup, 2001/11/26
- Re: occur slower than grep by a longshot, Eli Zaretskii, 2001/11/26
- Re: occur slower than grep by a longshot, David Kastrup, 2001/11/26
- Re: occur slower than grep by a longshot, Stefan Monnier, 2001/11/25