This PR improves the speed of parsing parenthesised expressions. For example:
let x = ((((((((2)))))))) in x + 1
currently takes 30s to parse! This PR refactors parsing of tuples and prefix ops so that the parser does less backtracking, and parses the example in 0.1s.
This PR improves the speed of parsing parenthesised expressions. For example:
currently takes 30s to parse! This PR refactors parsing of tuples and prefix ops so that the parser does less backtracking, and parses the example in 0.1s.