From: martinahansen Date: Wed, 10 Oct 2012 12:21:21 +0000 (+0000) Subject: added dynamic mem allocation to findsim.rb X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=5603684543742d355a945a40d4711d1daed825d5;p=biopieces.git added dynamic mem allocation to findsim.rb git-svn-id: http://biopieces.googlecode.com/svn/trunk@1958 74ccb610-7750-0410-82ae-013aeee3265d --- diff --git a/code_ruby/lib/maasha/findsim.rb b/code_ruby/lib/maasha/findsim.rb index a3ed37d..58fab98 100644 --- a/code_ruby/lib/maasha/findsim.rb +++ b/code_ruby/lib/maasha/findsim.rb @@ -122,7 +122,6 @@ class FindSim if result_ary.size / BYTES_IN_HIT - result_count < RESULT_ARY_BUFFER / 2 result_ary << "\0" * RESULT_ARY_BUFFER * BYTES_IN_HIT - $stderr.puts "resizing to #{result_ary.size / BYTES_IN_HIT}" end end end