]> git.cworth.org Git - sup/commit
make Index#sync_message take an extra speedy arg
authorWilliam Morgan <wmorgan-sup@masanjin.net>
Sun, 26 Apr 2009 22:16:48 +0000 (18:16 -0400)
committerWilliam Morgan <wmorgan-sup@masanjin.net>
Sun, 26 Apr 2009 22:20:15 +0000 (18:20 -0400)
commite24ea497cf4f86f0e6b99e3333b39aeb0f71c11f
treebb614683e341552cd1b2a0591de348f12c3378c0
parent3c9f5fcb058527454e3a29115243222d7165e4e0
make Index#sync_message take an extra speedy arg

Previously it would check the index if docid and entry were nil,
even though nil is a valid result of a previous check. Add an
extra argument controlling whether this check is performed again.

Results in a minor speedup.
lib/sup/index.rb
lib/sup/poll.rb