daml/compiler
Moritz Kiefer 42dd6349e9
Cache unmangleIdentifier (#4822)
* 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
2020-03-05 13:35:28 +01:00
..
daml-extension Remove pragma 'daml 1.2' (#4702) 2020-02-26 13:17:45 -05:00
daml-lf-ast Freeze DAML-LF 1.8 (#4770) 2020-03-02 18:29:26 +01:00
daml-lf-proto Cache unmangleIdentifier (#4822) 2020-03-05 13:35:28 +01:00
daml-lf-reader Use package metadata instead of file names to infer unit ids (#4667) 2020-02-24 18:12:29 +00:00
daml-lf-tools damlc validate-dar (#4654) 2020-02-27 14:26:14 +00:00
daml-licenses remove MissingH (#3948) 2020-01-06 14:36:14 +01:00
damlc Remove damlc migrate (#4816) 2020-03-04 20:36:48 +00:00
ghcide Get ghcide from the new upstream repo (#2867) 2019-09-11 08:57:48 +02:00
hie-core Get ghcide from the new upstream repo (#2867) 2019-09-11 08:57:48 +02:00
lsp-tests Fix flaky lsp tests (#4541) 2020-02-17 12:50:53 +01:00
repl-service Graceful error handling in daml repl (#4673) 2020-02-24 18:15:32 +01:00
scenario-service [Engine] push absolute contract ids inside the evaluation (#4652) 2020-02-21 20:21:35 +01:00
ghcide-daml.sh update copyright notices to 2020 (#3939) 2020-01-02 21:21:13 +01:00
README.md open-sourcing daml 2019-04-04 09:33:38 +01:00

DAML Compiler

This directory contains several libraries used by and the executable for the DAML compiler.

Libraries

  • daml-lf-ast: The DAML-LF AST and type checker.