Re: Java v Perl dashing golf

[email protected]
Newsgroups perl.golf
Message-ID <694BB7191495D51183A9005004C0B0540142F9D5@ir-exchange-srv.ir.com.au>
En op 18 september 2002 sprak `/anick:
> /^192\.(?:9|18|29)\./||/\.(?:gif|GIF|jpg|JPG|css|CSS) HTTP/ or print
>
>	is still a wee bit faster.

You can save a stroke by replacing:
 9|18|29
with:
 2?9|18
but it seems a flea's proboscis slower in my primitive speed test.

BTW, on my (perhaps unrepresentative) 17 MB test file on Windows,
`/anick's program took 4.75 secs versus 140 seconds for the
original 15-line Perl program.

/-\
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.