You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: