On Sun, Sep 30, 2007 at 12:15:30AM -0700, [EMAIL PROTECTED] wrote: > Log: > [src] Optimized Parrot_byte_index(), which was surprisingly expensive. It's a > little bit tricky because C strings can't have embedded NULL characters, so > the > naive use of the standard library's index() doesn't always work. However, > it's > a good place to start as it tends to run much faster than the inchworm code > here.
Would memchr() be of help here? Nicholas Clark