After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 376971 - Cache Exif DateTime tag in comment files for faster access
Cache Exif DateTime tag in comment files for faster access
Status: RESOLVED FIXED
Product: gthumb
Classification: Other
Component: general
2.9.x
Other Linux
: Normal normal
: ---
Assigned To: Paolo Bacchilega
Paolo Bacchilega
Depends on:
Blocks:
 
 
Reported: 2006-11-19 12:10 UTC by Michael Chudobiak
Modified: 2007-07-19 14:53 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michael Chudobiak 2006-11-19 12:10:37 UTC
This continues discussion from bug 142590, where Paolo suggested that the following optimization could be implemented for Exif DateTime sorting:

if comment mtime < image mtime 
  read the exif data from the image and save it in the comment file
else
  read the exif data from the comment file
end

this way sorting by exif date is slow only the first time you visit a folder. This sort of exif data cache could be used in other parts of the code as well.

It would have to be written to be tolerant of read-only filesystems.

Perhaps the orientation tag could be in there too.

- Mike
Comment 1 Michael Chudobiak 2006-12-14 14:02:23 UTC
At the same time, perhaps we can link the Exif UserComments tag to the xml comments, as per bug 313579 and bug 343021 .

- Mike
Comment 2 Michael Chudobiak 2007-07-19 14:53:38 UTC
Not really necessary now - the new "minimal" tag reader code is just as fast as reading from a cache file.

Closing bug.

- Mike