shithub: mc

Download patch

ref: 2b755a0e6bffb0f75f9b0f1433cfe55bd7499606
parent: 0aabb05706b4141e3704b0ff77ac963ad9e59bdc
author: Ori Bernstein <ori@eigenstate.org>
date: Mon Feb 8 20:09:13 EST 2016

Remove debug prints.

--- a/lib/std/htab.myr
+++ b/lib/std/htab.myr
@@ -221,21 +221,16 @@
 
 		ht = itp.ht
 		for i = itp.idx; i < ht.keys.len; i++
-			std.put("i: {}, ht.hashes[{}]: {}, ht.keys[{}]: {}, ht.dead[{}]: {}\n", \
-				i, i, ht.hashes[i], i, ht.keys[i], i, ht.dead[i])
 			if ht.hashes[i] != 0 && !ht.dead[i]
 				itp.idx = i + 1
 				valp# = (ht.keys[i], ht.vals[i])
-				std.put("....returning true\n")
 				-> true
 			;;
 		;;
-		std.put("returning false\n")
 		itp.idx = i
 		-> false
 	}
 
 	__iterfin__ = {itp, valp -> void
-		std.put("fin\n")
 	}
 ;;