daml/compiler
Moritz Kiefer 72695ec310 Optimize mangleIdentifier (#2350)
* Optimize mangleIdentifier

I am slightly embarassed by importing Data.Text.Internal and
Data.Text.Array. However, this does make a very measurable difference:
On my testcase it brought down the time encoding modules from 22s to
17s, so it’s a 5s improvement.

I did quickcheck this against the old implementation, so I’m confident
it behaves correctly. I also ran some criterion benchmarks to see the
difference and on its own it’s even more of a difference.

https://gist.github.com/cocreature/822114257227473ecff1638a88f07788

* GHC is stupid :(
2019-07-31 14:07:36 +00:00
..
daml-extension VSCode scenario codelenses improvements (#2141) 2019-07-22 10:50:30 +02:00
daml-lf-ast use MonoTraversable ModuleRef in place of Generic HasPackageRef (#2327) 2019-07-31 07:22:42 +00:00
daml-lf-proto Optimize mangleIdentifier (#2350) 2019-07-31 14:07:36 +00:00
daml-lf-reader language: put hash in package directories (#2268) 2019-07-31 14:31:45 +02:00
daml-lf-tools {-# LANGUAGE OverloadedStrings #-} is now on by default (#2270) 2019-07-24 08:09:26 +01:00
daml-licenses Bump urllib3 from 1.24.1 to 1.24.2 in /compiler/daml-licenses/licenses (#2082) 2019-07-10 20:57:10 -04:00
damlc language: put hash in package directories (#2268) 2019-07-31 14:31:45 +02:00
hie-core Add a Stack based pipeline for testing hie-core (#2348) 2019-07-31 11:24:37 +02:00
lsp-tests improve haskell module hierarchy to be more consistent (#2319) 2019-07-29 15:55:55 +01:00
scenario-service improve haskell module hierarchy to be more consistent (#2319) 2019-07-29 15:55:55 +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.