Optimise sorting of image filenames.
authorCarl Hetherington <cth@carlh.net>
Fri, 26 May 2017 23:47:15 +0000 (00:47 +0100)
committerCarl Hetherington <cth@carlh.net>
Fri, 26 May 2017 23:47:15 +0000 (00:47 +0100)
commitfd30397b1a1d0df6b43aedbb205913d2eec09fd0
tree0b983861df2a67ea5088dd0a47e0637c29a50785
parent676751fcd38bee7a687bba027e2fd6eb44446dec
Optimise sorting of image filenames.

One regression here is that /1/01/1 will be seen as greater than /1/2/1
as the numbers are now coalesced so the comparsion would be 1011 cf 121.
src/lib/image_filename_sorter.cc
src/lib/image_filename_sorter.h
test/image_filename_sorter_test.cc