Performance tips

This commit is contained in:
Gwendal Roué committed 2016-08-01 17:27:49 +02:00
1 parent 238f5a9af3
commit c49506e588
1 file changed
+1 -1
+1 -1
View File
@@ -3449,7 +3449,7 @@ If your application processes a huge JSON file and inserts thousands of rows in
If not done yet, read the [Concurrency Programming Guide](https://developer.apple.com/library/ios/documentation/General/Conceptual/ConcurrencyProgrammingGuide/Introduction/Introduction.html#//apple_ref/doc/uid/TP40008091) and learn how to perform heavy computations without blocking your application.
Since most GRBD APIs are [synchronous](#database-connections), spawning them into parallel queues is as easy as:
Most GRBD APIs are [synchronous](#database-connections). Spawning them into parallel queues is as easy as:
```swift
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0)) {