The largest part of the the 2to3 runtime is spent in the pattern matching algorithm. This currently uses a fairly naive back-tracking approach. Replacing it with an algorithm based on the computation of finite state machines out of the patterns should allow efficient simultaneous matching of patterns with many alternatives. Interested students should contact martin@v.loewis.de.

SpeedUp2to3PatternMatching (last edited 2010-03-05 16:11:44 by 2001:638:807:20f:287c:da38:f4f4:cc1d)

Unable to edit the page? See the FrontPage for instructions.