diff options
author | Nadrieril | 2019-08-15 15:33:53 +0200 |
---|---|---|
committer | Nadrieril | 2019-08-15 15:41:19 +0200 |
commit | e4bdadabeda8ff8dbae0376f9d1c25478b8c8821 (patch) | |
tree | f6f788553dde3db1def383bf495f38c2e39dc476 /dhall | |
parent | a9804009f405be7e8a89e301f280ee9d51b57e5e (diff) |
Use precedence climbing to parse expressions with operators
This speeds up parsing around 30%
Diffstat (limited to 'dhall')
-rw-r--r-- | dhall/build.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/dhall/build.rs b/dhall/build.rs index cbda288..2305208 100644 --- a/dhall/build.rs +++ b/dhall/build.rs @@ -91,8 +91,9 @@ fn main() -> std::io::Result<()> { let mut file = File::create(parser_tests_path)?; make_test_module(&mut file, "parse", "parser/", "Parser", |path| { - // Too slow in debug mode - path == "success/largeExpression" + false + // Too slow in debug mode + || path == "success/largeExpression" // TODO: projection by expression || path == "success/recordProjectionByExpression" || path == "success/RecordProjectionByType" |