FATE backend optimisations #696
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "fate-flatten-store"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Created by: UlfNorell
Notably
record { x : int }
is compiled toint
.Created by: ThomasArts
Possibly I do not really get all type layers, but {tuple, [A]} in this case would not translate to just A as in scode, but rather keep the FATE tuple notation.
Most likely on purpose.
Created by: UlfNorell
No, you're right. That probably needs a case for singletons.
Created by: UlfNorell
I'll try to make a test case.
Created by: ThomasArts
I see, the stores are negative numbers and you want to print "store1" for
{store, -1}
Created by: UlfNorell
No, it's right as it is. The singleton optimisation happens in
ast_to_fcode
andterm_to_fate
works onfcode
so it's already happened at that point.Created by: ThomasArts
Review: Dismissed
You seem to merge this into
lima
. It's only a compiler thingy, so most likely there is no consensus issue... store was already prepared for this.Created by: UlfNorell
No, that's just wrong. Look at the definition of
desugar_arg
:Created by: UlfNorell
The compiler is not under consensus (aesophia is not even a dependency of the node!), so there is guaranteed to be no consensus issues.
Created by: hanssv
Review: Approved
Created by: ThomasArts
Review: Approved
Merged by: UlfNorell at 2019-12-12 08:22:38 UTC