Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chunk computations out into a dispatch queue #87

Open
ghost opened this issue Aug 7, 2014 · 0 comments
Open

Chunk computations out into a dispatch queue #87

ghost opened this issue Aug 7, 2014 · 0 comments

Comments

@ghost
Copy link

ghost commented Aug 7, 2014

Cocoa provides an intelligent framework for parallel processing called dispatch queues, which is so easy to use that we'd be silly not to take advantage of it. At the very least, moving model computations into a queue would free up the UI to respond to events during computation processing.

There is a caveat: many default Cocoa collection types (including NSMutableArray) are not thread-safe. This probably puts a damper on how much parallelism we can actually expect, beyond making the UI more responsive.

@ghost ghost added the enhancement label Aug 7, 2014
@ghost ghost mentioned this issue Aug 7, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

0 participants