forked from M-Labs/nac3
1
0
Fork 0
nac3/nac3artiq/src
pca006132 279f47f633 nac3core/codegen: avoid sending unifiers
Previously, we have to copy types from one unification table to another,
and make the table sendable. This requires cloning (processing) the
whole table 3 times per function call which is not efficient and uses
more memory than required when the unification table is large.

We now use a concrete type table to only copy the type we need. This
reduces the overhead as we only need to process the unification table
for once (when we do the function codegen), and reduces memory usage by
a bit (but not noticeable when the unification table is small, i.e. the
types are simple).
2021-10-17 13:02:18 +08:00
..
lib.rs nac3core/codegen: avoid sending unifiers 2021-10-17 13:02:18 +08:00
symbol_resolver.rs nac3artiq: host object supports typevar 2021-10-08 22:45:08 +08:00
timeline.rs missing file from previous commit 2021-10-08 23:21:36 +08:00