Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Perl Tops "Wide Finder" Results

by perlfan (Vicar)
on Nov 21, 2007 at 20:36 UTC ( [id://652236]=perlnews: print w/replies, xml ) Need Help??

Replies are listed 'Best First'.
Re: Perl Tops "Wide Finder" Results
by erroneousBollock (Curate) on Nov 22, 2007 at 01:29 UTC
    For now ;)

    Unfortunately, we should prepare ourselves for the next JoCaml submission to knock at least another 25% off the wf(32) elapsed time :(.

    From what I've read elsewhere, O'Rourke's wf.pl could be made faster simply by switching from Sys::MMap to MMap. (
    Does the :mmap PerlIO layer introduce significant overhead, as compared to Sys::MMap::mmap()? It'd be nice if you could basically get speedups for free on systems that support mmap.

    What I like about the currently leading Perl solution (wf.pl) is that it's still a straightforward implementation of an obvious approach to the problem... not too much optimisation necessary to make it run fast.

    -David

      AFAICT Sys::MMap and MMap are the same module -- Scott Walters just took it over and updated it for recent perls.
        Ah, you're right. I went looking for where I'd read it...

        The difference is between doing new MMap (slow) and mmap (fast), due to the tie() interface. Don't know if that's still true.

        -David

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlnews [id://652236]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-04-25 13:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found