Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Perl Tops "Wide Finder" Results

by erroneousBollock (Curate)
on Nov 22, 2007 at 01:29 UTC ( #652289=note: print w/replies, xml ) Need Help??


in reply to Perl Tops "Wide Finder" Results

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

Replies are listed 'Best First'.
Re^2: Perl Tops "Wide Finder" Results
by educated_foo (Vicar) on Nov 22, 2007 at 02:57 UTC
    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
Node Status?
node history
Node Type: note [id://652289]
help
Chatterbox?
[stevieb]: heh, yeah, sorry. This is integration testing for certain. In fact, it's even Continuous Integration ;)
[stevieb]: Obviously, Travis CI just won't cut it for these distributions...
[stevieb]: I went on my merry way writing a cross-platform, network-aware system that works across Perlbrew and Berrybrew systems and runs unit tests for Perl dists on all installed versions, with the ability to manage *brew commands themselves
[stevieb]: That worked out exceptionally well, as when I started that project, I hadn't delved into hardware development yet.

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2017-06-25 23:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (572 votes). Check out past polls.