develooper Front page | perl.perl5.porters | Postings from November 2000

Why slow down the REx engine?

Thread Next
Ilya Zakharevich
November 21, 2000 13:22
Why slow down the REx engine?
Message ID:

I looked through the "This Week on p5p" summary, and see that there is
considerate work going on to slow down the REx engine.  Why?

Why move the support for polymorphic UTF8 into the REx engine at all?
Just make PMOP have two regexp*, and fill them up when needed, and use
the correct one.

This way there is going to be no overhead for non-utf8 operation, and
only 2x space overhead for have-utf8 operation...  This space overhead
may be addressed later if needed.


P.S.  Another unrelated remark:

      Flattening the recursion has nothing to do with (??{}).  It
      will work with (|), *, +, ? and {n,m}.  [Only (|) is implemented

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About