On Tue, 19 Dec 2017 19:16:24 -0700 Karl Williamson <public@khwilliamson.com> wrote: > 3) Is there enough usage of quantified [[:ascii:]] in the wild to > justify doing this optimization? (I was surprised to see only 132 > CPAN modules have plain :ascii: (this grep also would catch negation)) Perhaps they use [\x00-\x7F] or something similar? I'd imagine looking for one of those would be much shorter too, as you can AND with 0x80808080 (or 64bit equivalent) and get 4 (8) chars at once. -- Paul "LeoNerd" Evans leonerd@leonerd.org.uk | https://metacpan.org/author/PEVANS http://www.leonerd.org.uk/ | https://www.tindie.com/stores/leonerd/Thread Previous | Thread Next