in reply to Re^3: bit pattern to bit position mapping
in thread bit pattern to bit position mapping

Oh, sorry. I misunderstood you.

That's about half the speed of the version I posted.

  • Comment on Re^4: bit pattern to bit position mapping

Replies are listed 'Best First'.
Re^5: bit pattern to bit position mapping
by grinder (Bishop) on Nov 19, 2006 at 12:51 UTC

    It's a value judgement. I thought you valued a routine that works on arbitrary input. You value speed. Evidently, creating the array in my routine is an expensive proposition.

    I don't have time right now, but try recasting my algorithm to use index or substr. If you're really pressed for speed, a short XS routine should do the trick.

    • another intruder with the mooring in the heart of the Perl