lang: unification: Improve type unification algorithm
The simple type unification algorithm suffered from some serious performance and memory problems when used with certain code bases. This adds some crucial optimizations that improve performance drastically.
This commit is contained in:
@@ -2,7 +2,6 @@ import "world"
|
||||
|
||||
$ns = "estate"
|
||||
$exchanged = world.kvlookup($ns)
|
||||
|
||||
$state = maplookup($exchanged, $hostname, "default")
|
||||
|
||||
if $state == "one" || $state == "default" {
|
||||
|
||||
Reference in New Issue
Block a user