mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-08 21:13:39 +00:00
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:
committed by
Ron Evans
parent
17c42810d0
commit
55fc7b904a
Vendored
+1
@@ -54,3 +54,4 @@ true false 0
|
||||
42
|
||||
4321
|
||||
5555
|
||||
tested preallocated map
|
||||
|
||||
Reference in New Issue
Block a user