Preliminary implementation of a hashmap, unfinished

Missing features:
  * keys other than strings
  * more than 8 values in the hashmap
  * growing a map when needed
  * initial size hint
  * delete(m, key)
  * iterators (for range)
  * initializing global maps
  * ...more?
This commit is contained in:
Ayke van Laethem
2018-08-22 04:50:24 +02:00
parent 8fb9cd4e23
commit 3a6ef38041
5 changed files with 290 additions and 21 deletions
+1 -1
View File
@@ -46,11 +46,11 @@ Currently supported features:
* standard library (but most packages won't work due to missing language
features)
* slices (partially)
* maps (very rough, unfinished)
Not yet supported:
* float, complex, etc.
* maps
* garbage collection
* defer
* closures