in reply to Question about speeding a regexp count

I like the previous post, it is a solid method.

Alternatively, you could unpack the string and simply iterate through it. A bit more code, but perhaps fast enough.

"Never take yourself too seriously, because everyone knows that fat birds dont fly" -FLC
  • Comment on Re: Question about speeding a regexp count