Revision: 12271
          http://bibdesk.svn.sourceforge.net/bibdesk/?rev=12271&view=rev
Author:   amaxwell
Date:     2008-01-05 09:24:35 -0800 (Sat, 05 Jan 2008)

Log Message:
-----------
Change waitUntilDone: to NO.  No performance problems on dual core; it actually 
seems
faster.  The comment indicated that redundant rendering was also a problem, but 
that
can be fixed also.

Modified Paths:
--------------
    trunk/bibdesk_vendorsrc/amaxwell/FileView/FVIconQueue.m

Modified: trunk/bibdesk_vendorsrc/amaxwell/FileView/FVIconQueue.m
===================================================================
--- trunk/bibdesk_vendorsrc/amaxwell/FileView/FVIconQueue.m     2008-01-05 
11:23:07 UTC (rev 12270)
+++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVIconQueue.m     2008-01-05 
17:24:35 UTC (rev 12271)
@@ -140,9 +140,7 @@
             NSRange r = NSMakeRange(i, length);
             NSArray *toRender = [taskQueue subarrayWithRange:r];
             [toRender makeObjectsPerformSelector:@selector(renderOffscreen)];
-            
-            // using waitUntilDone:YES keeps the app much more responsive; 
otherwise we end up with too many drawing updates and repetitive rendering 
requests
-            [target performSelectorOnMainThread:@selector(iconQueueUpdated:) 
withObject:toRender waitUntilDone:YES modes:modes];
+            [target performSelectorOnMainThread:@selector(iconQueueUpdated:) 
withObject:toRender waitUntilDone:NO modes:modes];
             i = NSMaxRange(r);
             length = MIN((iMax - i), (NSUInteger)5);
             [pool release];


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 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to