Revision: 12595
http://bibdesk.svn.sourceforge.net/bibdesk/?rev=12595&view=rev
Author: hofman
Date: 2008-01-20 05:51:32 -0800 (Sun, 20 Jan 2008)
Log Message:
-----------
Larger flush interval for initial check of cached index.
Modified Paths:
--------------
trunk/bibdesk/BDSKFileSearchIndex.m
Modified: trunk/bibdesk/BDSKFileSearchIndex.m
===================================================================
--- trunk/bibdesk/BDSKFileSearchIndex.m 2008-01-20 12:56:57 UTC (rev 12594)
+++ trunk/bibdesk/BDSKFileSearchIndex.m 2008-01-20 13:51:32 UTC (rev 12595)
@@ -293,8 +293,8 @@
BDSKMultiValueDictionary *indexedIdentifierURLs =
[[[BDSKMultiValueDictionary alloc] init] autorelease];
// see comment later; may need tuning here since this is much faster
than adding new docs to the index
- const int32_t flushInterval = 20;
- int32_t countSinceLastFlush = flushInterval;
+ const int32_t flushInterval = 100;
+ int32_t countSinceLastFlush = 10;
// update the identifierURLs with the items, find items to add and
URLs to remove
OSMemoryBarrier();
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit