shithub: mc

Download patch

ref: 7deb877757f34da0a6f8fce8b2d5b5ae07178429
parent: c0370b500f9a4e519a3d24e8bae606d36779a380
author: Ori Bernstein <ori@eigenstate.org>
date: Wed Aug 26 04:59:32 EDT 2015

Remove debugging print.

--- a/lib/std/htab.myr
+++ b/lib/std/htab.myr
@@ -29,8 +29,6 @@
 
 const Initsz = 32
 
-extern const put : (fmt : byte[:], args : ... -> size)
-
 generic hash = {ht, k
 	var h
 
@@ -161,7 +159,6 @@
 		ht.dead[i] = true
 		ht.nelt--
 		ht.ndead++
-		std.put("ndead = {}\n", ht.ndead)
 		/* remove tombstones if we shrink enough */
 		if ht.keys.len < ht.ndead * 4
 			resize(ht, ht.keys.len)