[Xapian-discuss] Ticket #342: Omega: Add option to avoid reindexing unchanged files

James Aylett james-xapian at tartarus.org
Wed May 20 20:34:15 BST 2009


On Wed, May 20, 2009 at 08:16:37PM +0100, Richard Boulton wrote:

> Checking if the file size has changed as well as the date is another
> approach - it doesn't cause all changes to be noticed, of course, but
> it's a lot cheaper than computing the MD5 sum of the file (if you've
> done a stat(), you've already got the size available).

Can we get the inode cheaply? Where supported, I can't think of
many practical situations where it would change but the contents not.

J

-- 
  James Aylett

  talktorex.co.uk - xapian.org - uncertaintydivision.org



More information about the Xapian-discuss mailing list