mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-20 08:26:47 +00:00
map string keys and for iterator
This commit is contained in:
+4
-1
@@ -438,7 +438,10 @@ __dynamic_array_append_nothing :: proc(array_: rawptr, elem_size, elem_align: in
|
||||
|
||||
|
||||
__default_hash :: proc(data: []byte) -> u64 {
|
||||
return hash.murmur64(data);
|
||||
return hash.fnv64a(data);
|
||||
}
|
||||
__default_hash_string :: proc(s: string) -> u64 {
|
||||
return __default_hash(cast([]byte)s);
|
||||
}
|
||||
|
||||
Map_Key :: struct #ordered {
|
||||
|
||||
Reference in New Issue
Block a user