Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^3: Producing a list of offsets efficiently

by dws (Chancellor)
on May 28, 2005 at 20:14 UTC ( #461394=note: print w/replies, xml ) Need Help??


in reply to Re^2: Producing a list of offsets efficiently
in thread Producing a list of offsets efficiently

In that case, I'd probably code up an XS module that makes two passes over the target string, allocating the result vector once after the first pass, and filling it in on the second.

  • Comment on Re^3: Producing a list of offsets efficiently

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2020-10-29 07:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (269 votes). Check out past polls.

    Notices?