mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 15:18:49 +00:00
Remove debug text
This commit is contained in:
+1
-2
@@ -663,7 +663,6 @@ __dynamic_map_set :: proc(using h: __Map_Header, key: __Map_Key, value: rawptr)
|
|||||||
if __dynamic_map_full(h) {
|
if __dynamic_map_full(h) {
|
||||||
__dynamic_map_grow(h);
|
__dynamic_map_grow(h);
|
||||||
}
|
}
|
||||||
fmt.println("entries:", h.m.entries.len);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -673,7 +672,7 @@ __dynamic_map_grow :: proc(using h: __Map_Header) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
__dynamic_map_full :: proc(using h: __Map_Header) -> bool {
|
__dynamic_map_full :: proc(using h: __Map_Header) -> bool {
|
||||||
return cast(int)(0.75 * cast(f64)len(m.hashes)) <= m.entries.len;
|
return cast(int)(0.75 * cast(f64)len(m.hashes)) <= m.entries.cap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user