orc-lang / orc

Orc programming language implementation
https://orc.csres.utexas.edu/
BSD 3-Clause "New" or "Revised" License
41 stars 3 forks source link

Optimize pattern compilation #86

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Description of Change:

Add optimizations to the compiler's handling of patterns to eliminate pattern 
matching on simple variable patterns.  For example, 1 >x> x should not invoke 
pattern matching.

Benefit of/Reason for Change Request:
Simpler ASTs and OIL output.  Easier to debug, smaller, slightly faster.

Issues/Concerns with Change Request:
none

Original issue reported on code.google.com by jthywissen on 26 Sep 2011 at 5:48

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r2881.

Original comment by jthywissen on 29 Sep 2011 at 6:02