daml/daml-lf/interpreter
Martin Huschenbett 37d74287f1
DAML Engine: Use while loop instead of for loops (#7126)
This PR replaces a few `for (... to/until ...)` loops with `while`
loops which explicitly maintain their counter. In my benchmarks, this
has lead to a 3% performance improvement. Since the affected functions
are the ones used for applying arguments to functions, similar
improvements should be observable regardless of the specific benchmark.

CHANGELOG_BEGIN
CHANGELOG_END
2020-08-17 12:29:33 +00:00
..
perf Run json-parser example using explore-dar. (#7045) 2020-08-07 07:47:48 +02:00
src DAML Engine: Use while loop instead of for loops (#7126) 2020-08-17 12:29:33 +00:00
BUILD.bazel Partial ANF transformation. (#6918) 2020-08-12 10:39:22 +02:00