On Oct 12, 2014, at 18:18:48, Jim Crate <[email protected]> wrote:

> In one app I’m creating up to 600 or so block operations at once (processing 
> a list of files), it looks like it takes less than a couple tenths of a 
> second so it doesn’t seem like it should be noticeable unless you are 
> creating many thousands of operations, or invocation operations are 
> extraordinarily slow to create.  

Yes, my operations process image files, so they can be quite lengthy. It worked 
great when I used a small test suite, but as soon as I tried it on one of my 
large folders (16k+ files), kablooey.

> Keep in mind you can add operations to your queue from inside an operation 
> executing on that queue so it would likely be trivial to change your code to 
> generate the operations in a block operation.

That's pretty much what I'm doing now.

--
Steve Mills
Drummer, Mac geek


_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to