Remove extra debug spew from thing.rb

This commit is contained in:
James Bowes 2012-08-12 09:35:26 -03:00
parent e2f492f120
commit 6c00822523

View file

@ -22,8 +22,8 @@ end
require './huffman' require './huffman'
$log = Logger.new(STDOUT) $log = Logger.new(STDOUT)
$log.level = Logger::DEBUG #$log.level = Logger::DEBUG
#$log.level = Logger::FATAL $log.level = Logger::FATAL
$sentinal = "SENTINAL" $sentinal = "SENTINAL"
@ -272,7 +272,6 @@ def build_huffman_for_strings(strings)
end end
# add on sentinal string # add on sentinal string
i.times { paths << $sentinal } i.times { paths << $sentinal }
puts paths
HuffmanEncoding.new paths HuffmanEncoding.new paths
end end
@ -386,7 +385,6 @@ if $0 == __FILE__
# size. # size.
node_count = node_list.count + 1 node_count = node_list.count + 1
puts node_count
file.write([node_count].pack("c")) file.write([node_count].pack("c"))
bit_file = BitWriter.new file bit_file = BitWriter.new file