mirror of
https://github.com/digital-asset/daml.git
synced 2024-11-10 10:46:11 +03:00
42dd6349e9
* Cache unmangleIdentifier Previously we unmangled once per reference to an identifier rather than doing the unmangling once per entry in the string interning table. This PR fixes this which brings a pretty decent performance improvement. On my testcase the time for converting for converting from the low-level proto AST to the high-level Haskell AST goes down from 13.5 to 7.5s on a certain DALF that we know very well. Max residency also goes down from 2GB to 1.5GB (although that number is somewhat unreliable ime) and allocations drop by 8%. changelog_begin changelog_end * Move error message to unmangleIdentifier |
||
---|---|---|
.. | ||
src/DA/Daml/LF | ||
BUILD.bazel | ||
daml-lf-proto.cabal |