• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: good values for MDQueryBatchingParams
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: good values for MDQueryBatchingParams
      • From: Matt Neuburg <email@hidden>
References: 
 >Re: good values for MDQueryBatchingParams (From: Matt Neuburg <email@hidden>)

  • Prev by Date: Re: Navigating a TableView: A Solution
  • Next by Date: Re: Sheet in a non-document-based Application
  • Previous by thread: Re: good values for MDQueryBatchingParams
  • Next by thread: Re: good values for MDQueryBatchingParams
  • Index(es):
    • Date
    • Thread