Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: Producing a list of offsets efficiently

by dws (Chancellor)
on May 28, 2005 at 20:14 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://461394]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (None)
    As of 2024-04-25 00:00 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found