Article View: news.software.nntp
Article #28816Re: feed question on alt.binaries.sounds.mp3
From: brian moore
Date: Thu, 04 Jun 1998 00:00
Date: Thu, 04 Jun 1998 00:00
41 lines
2599 bytes
2599 bytes
On Wed, 03 Jun 1998 23:31:29 GMT, Fluffy <vulis@meow.org> wrote: > Andrew Gierth <andrew@erlenstar.demon.co.uk> wrote: > > > Oh, in some applications there is no comparison. I rewrote most of my > > cancel-analysis code in C++ when the volume started to get really large; > > I got rather better than a 10x speed increase. > > Perl's weakest spot is in large tables and hashes. I was trying some > stupid tricks with active, and the options in perl were either > painfully slow or used obscene amounts of RAM. Typed data and Real > Pointers do have their advantages. Sometimes.... but there's a huge development advantage in being Lazy and letting Larry Wall's hash algorithm do the hashing. Certainly a custom-tweaked algorithm could do better, but then you'd spend time developing it and chasing down memory leaks and wayward pointers. Not a lot of fun. We won't even get into how much of a pain a huge-honking-pile-of-regex's is to deal with in C and how Perl makes them easy. Being able to futz with Cleanfeed on the fly is a huge bonus. Jeremy's done a ton of work benchmarking Cleanfeed in how to optimize regex's, which pays off. On most systems (at least INN based where it's all the same process), Cleanfeed has a pretty slim CPU load. It certainly saves over shoving things into spamfilled directories. :) But, as said, the 'advantage' to the perl compiler is that you lose much of the startup cost. In this case, that's a minimal part of the time spent. Perl is already semi-compiled: it just has a compiler that's so fast we usually forget it makes a couple passes over the program byte-compiling and then peephole optimizing. (Ah, if only gcc was as fast....) -- Brian Moore Kill A Spammer For Jesus Sysadmin, C/Perl Hacker, Usenet Vandal
Technical Details
Message-ID:
<slrn6nc9p8.d9n.bem@thorin.cmc.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<3575c0fe.0@news2.lightlink.com> <6l4isv$mik$1@news1.exit109.com> <87btsaf5ca.fsf@erlenstar.demon.co.uk> <Mw.4vw0h_6b2@fluffy.meow.org>Show Full Headers
Complete Article Headers
Message-ID: <slrn6nc9p8.d9n.bem@thorin.cmc.net> Subject: Re: feed question on alt.binaries.sounds.mp3 Date: Thu, 04 Jun 1998 00:00:00 +0000 From: bem@news.cmc.net (brian moore) References: <3575c0fe.0@news2.lightlink.com> <6l4isv$mik$1@news1.exit109.com> <87btsaf5ca.fsf@erlenstar.demon.co.uk> <Mw.4vw0h_6b2@fluffy.meow.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 359376275 X-Complaints-To: abuse@cmc.net X-Trace: news.cmc.net 896935710 7752 (None) 206.102.31.253 Organization: Chambers Multimedia Connection Newsgroups: news.software.nntp