From b53d16d1d568fc0a3c87d1168b4cd8e2572cc41c Mon Sep 17 00:00:00 2001 From: Ginger Bill Date: Tue, 11 Apr 2017 21:24:10 +0100 Subject: [PATCH] Remove debug text --- core/_preload.odin | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/_preload.odin b/core/_preload.odin index 9c403737d..e0dc0f7fb 100644 --- a/core/_preload.odin +++ b/core/_preload.odin @@ -663,7 +663,6 @@ __dynamic_map_set :: proc(using h: __Map_Header, key: __Map_Key, value: rawptr) if __dynamic_map_full(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 { - 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; }