]> pilppa.com Git - lib1wire.git/commit
Optimization for year and monthly data calculation.
authorMika Laitio <lamikr@pilppa.org>
Wed, 26 Jan 2011 18:50:18 +0000 (20:50 +0200)
committerMika Laitio <lamikr@pilppa.org>
Wed, 26 Jan 2011 18:50:18 +0000 (20:50 +0200)
commit4d28d5175f0bd7f930f67b1280d998eddd21ed80
tree837d46819974efeca7af994a814c2fee248c5e7e
parent36db98966cfc73303c75879811cdedb472d71a4a
Optimization for year and monthly data calculation.
Added checks for finding last data per year or per month to avoid
unneccessary scanning of day-files which does not neccessarily exist.

Signed-off-by: Mika Laitio <lamikr@pilppa.org>
src/Date.cc
src/Date.hh
src/DeviceData.cc
src/DeviceData.hh
src/Store.cc
src/StoreCache.cc
src/StoreCache.hh
src/W1CounterDevice.cc
src/W1Util.cc