summaryrefslogtreecommitdiff
path: root/dhall/build.rs
diff options
context:
space:
mode:
authorNadrieril2019-08-15 15:33:53 +0200
committerNadrieril2019-08-15 15:41:19 +0200
commite4bdadabeda8ff8dbae0376f9d1c25478b8c8821 (patch)
treef6f788553dde3db1def383bf495f38c2e39dc476 /dhall/build.rs
parenta9804009f405be7e8a89e301f280ee9d51b57e5e (diff)
Use precedence climbing to parse expressions with operators
This speeds up parsing around 30%
Diffstat (limited to 'dhall/build.rs')
-rw-r--r--dhall/build.rs5
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"