nac3_sca/nac3core/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
..
codegen nac3core/codegen: avoid sending unifiers 2021-10-17 13:02:18 +08:00
toplevel fixed some clippy warnings 2021-10-16 18:08:13 +08:00
typecheck nac3core/codegen: avoid sending unifiers 2021-10-17 13:02:18 +08:00
lib.rs move top level related things to a separate module 2021-08-24 17:19:17 +08:00
location.rs nac3core: fix clippy warnings 2021-09-22 18:04:06 +08:00
symbol_resolver.rs nac3core/codegen: avoid sending unifiers 2021-10-17 13:02:18 +08:00