ast: Cache hashes for containers.
This slightly increases the amount of memory allocated (but not the number of allocs), but it reduces the CPU load by avoiding unnecessary term hashing in the evaluation. Signed-off-by: Teemu Koponen <koponen@styra.com>
T
Teemu Koponen committed
1bdae88f6a8b098d72cd13f8de8d91b27e6d17b8
Parent: b451682
Committed by Patrick East <east.patrick@gmail.com>
on 8/5/2020, 9:37:05 PM