On Sun, Jan 6, 2013 at 4:56 PM, Torsten Bronger <[email protected]> wrote: > Hallöchen! > Pascal de Bruijn writes: >> On Sun, Jan 6, 2013 at 4:32 PM, Torsten Bronger >> <[email protected]> wrote: >> >>> [...] >>> >>> This proposal makes me raising an issue again which has been >>> discussed already two months ago: What benefit do we have from >>> the library.db having precedence over XMP files? >> >> Speed. Reading timestamps may be fast, but if one has to do this >> for a filmroll with a 1000 files it might still significantly slow >> down darktable. > > The sheer number of files is not significant. Significant is the > relative slowdown *per* file. DT has to do many things with images > after all, with detecting timestamps being amongst the cheapest I > assume.
That's an assumption, and you know who's mother that is :) >>> In my opinion, every >>> DB entry must have a timestamp (maybe it already has), and if the >>> XMP file is newer, the image is automatically re-imported. >>> >>> - Comparing timestamps is extremely fast compared with almost all >>> other operations DT has to do. They are reliable, too (people are >>> backuping and rsyncing with them everywhere). >>> - People expect that moving a file together with its sidecar file >>> "just works". >>> - Synchronisation between many computers becomes easier. >>> - Restoring from backups is easier. >>> >>> "easier" means here not only a matter of convenience but also a >>> matter of avoiding data loss! >> >> You've lost me on this one. > > If I recover e.g. one image directory from the backup and open > darktable, I may lose the recovered XMP files. Same with copying > RAW+XMP from another computer. Yes you need to re-import, because it's not the same file anymore. So I do see it might be inconvenient, but we're very clear about the database being the leading data source. Anyhow, this isn't even what the original thread was about, and it's certainly detracting from the original topic. If you feel the need to discuss this further, please start a new thread. Regards, Pascal de Bruijn ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_123012 _______________________________________________ Darktable-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/darktable-users
