Permalink
Browse files

Who can't do math? This guy.

  • Loading branch information...
1 parent b083bee commit 423948150610e261f9750ac1215afebe27be7b76 @paulcbetts committed Nov 23, 2007
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/library.rb
View
2 lib/library.rb
@@ -74,7 +74,7 @@ def load(files, progress_rate = 0.05)
# First, see if we've already scanned this file before (save some time
# and only read the first 256K)
- md5sum = Digest::MD5.hexdigest(File.open(current, 'r') {|x| x.read(0x80000)})
+ md5sum = Digest::MD5.hexdigest(File.open(current, 'r') {|x| x.read(0x40000)})
if (@tag_info[current] = @md5_index[md5sum])
#log DEBUG, "Cache hit!"
next

0 comments on commit 4239481

Please sign in to comment.