compiler,runtime: use the size hint when creating a new map

It defaults to hint/8 number of buckets. This number may be tuned in the
future.
This commit is contained in:
Ayke van Laethem
2019-05-13 16:38:58 +02:00
committed by Ron Evans
parent 17c42810d0
commit 55fc7b904a
4 changed files with 34 additions and 5 deletions
+1
View File
@@ -54,3 +54,4 @@ true false 0
42
4321
5555
tested preallocated map