Re: good values for MDQueryBatchingParams
Re: good values for MDQueryBatchingParams
- Subject: Re: good values for MDQueryBatchingParams
- From: Alexander Cohen <email@hidden>
- Date: Sun, 12 Mar 2006 12:23:06 -0500
On 12-Mar-06, at 11:19 AM, Matt Neuburg wrote:
On Sat, 11 Mar 2006 17:45:36 -0500, Aleaxander Cohen
<email@hidden> said:
Anyone have any 'UI nice' values for the MDQueryBatchingParams of a
MDQueryRef? Seems like whatever i put in, the UI is still going to be
held up for a while after the first progress notification.
My app uses:
batch.first_max_num=50;
batch.first_max_ms=500;
batch.progress_max_num=50;
batch.progress_max_ms=500;
batch.update_max_num = batch.update_max_ms = 1000; // dummy values
And these values don't make spotlight queries hold up your UI? With
these values, i get my first progress notification, they i get the
beach ball for a while, then i get lots of updates in a row, then its
done.
Maybe if i run my qyery in a thread, is it ok to run queries in threads?
Alex
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden