CVSROOT:        /cvs/gnome
Module name:    beagle
Changes by:     joeshaw 06/01/20 20:31:15

Modified files:
        beagled        : LuceneCommon.cs LuceneQueryingDriver.cs 
        beagled/FileSystemQueryable: FileSystemQueryable.cs 
                                     LuceneNameResolver.cs 

Log message:
These two fixes should drastically reduce memory consumption in many
cases:

Don't do a strict squality comparison with ctime when looking at file
changes during the initial crawl in the file system backend.  With
read-only files, when we save our file attributes they go to the
sqlite fallback store rather than being saved as xattrs on the file
(thus updating their ctime).  Really we only care about if a file's
ctime is newer than our saved attributes.

Cache Lucene IndexReader instances, because they are extremely
expensive to create, and they don't need to be recreated if the
underlying index isn't changing.  Use cached instances throughout
the file system backend and the LuceneQueryingDriver.

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=beagle&who=joeshaw&date=explicit&mindate=2006-01-20%2020:30&maxdate=2006-01-20%2020:32

_______________________________________________
cvs-commits-list mailing list
cvs-commits-list@gnome.org
http://mail.gnome.org/mailman/listinfo/cvs-commits-list

Reply via email to