-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf(ldfi): Increase performance of ldfi
Changes: * Use Hashmap instead of `Map String AST` for remembering the Variables of z3. Furthermore rather than being a map of the Show of the variable, we keep it as LDFIVar. * The SAT variables are generated on demand, rather than all up-front. * Don't do a simplification (i.e call `simplify`) of the ldfi formuala. * Don't recompute Set.toList when uneccesarry (the set of all faults were often used quite often, and when iterated it used Set.toList in different places). * Remove an uneccessary use of `(!!)` in `z3SolveAll`.
- Loading branch information
1 parent
e0145a3
commit c112cc3
Showing
8 changed files
with
127 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
packages: . | ||
|
||
with-compiler: ghc-8.10.3 | ||
with-compiler: ghc-8.10.4 | ||
|
||
reject-unconstrained-dependencies: all | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ sources ? import ./../../nix/sources.nix | ||
, compiler ? "ghc8103" | ||
, compiler ? "ghc8104" | ||
}: | ||
|
||
(import ./default.nix { inherit sources compiler; }).env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.