beagle r3561 - trunk/beagle/beagled



Author: joeshaw
Date: 2007-03-12 21:51:07 +0000 (Mon, 12 Mar 2007)
New Revision: 3561
ViewCVS link: http://svn.gnome.org/viewcvs/beagle?rev=3561&view=rev

Modified:
   trunk/beagle/beagled/QueryResult.cs
Log:
Run queries serially rather than in parallel with threads.  Since 98% of
the time all the indexes are stored on the same disk, we gain nothing by
parallelizing, even on multiprocessor/multicore systems.  This also
reduces memory usage considerably, since the GC has time to clean up
the fairly heavyweight Lucene objects between each search.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]