# HG changeset patch # User Mike Pavone # Date 1342326203 25200 # Node ID 2dca1a880c0030153d52d6b1c10201ebecb6aa20 # Parent 434988bb1fb4c7fea51b43c426fbdb47d642822e Remove debug print calls from dict diff -r 434988bb1fb4 -r 2dca1a880c00 modules/dict.tp --- a/modules/dict.tp Sat Jul 14 21:20:30 2012 -0700 +++ b/modules/dict.tp Sat Jul 14 21:23:23 2012 -0700 @@ -9,8 +9,6 @@ } els <- #[] find <- :tofind { - print: "dict find " - print: "dict find " . tofind . "\n" idx <- 0 while: { if: idx < (els length) { @@ -23,9 +21,7 @@ } #{ set <- :k v { - print: "linear dict set\n" idx <- find: k - print: "find returned: " . idx . "\n" if: idx < 0 { els append: (key: k val: v) } else: { @@ -35,12 +31,10 @@ } get <- :k { - print: "linear dict get\n" get: k withDefault: false } get:withDefault <- :k default { - print: "linear dict get:withDefault\n" idx <- find: k if: idx < 0 { default