Skip to content
  • Jim Nelson's avatar
    #439: Resorting photos with large collection does not take so much time. This... · 176c2ef7
    Jim Nelson authored
    #439: Resorting photos with large collection does not take so much time.  This one has been bugging me for a 
    long time.  I replaced SortedList's inane insertion sort with a less-inane binary insertion sort.  Photo now 
    caches exposure_time to speed up comparisons, as going out to the database every time was too expensive.  Both 
    changes result in a marked improvement for the user.  Also made Sort By Exposure Time / Descending the default, 
    as that's more interesting for the user.  Also spotted a subtle bug in fullscreen window; fixed.
    
    176c2ef7