Fast boot using dispatch queue

How to increase the download speed in the application using the send queue?

I use send queues to download images in my application, but it takes a while when it loads for the first time, after which I store them in the cache. But I want to load them faster and for the first time.

Can someone suggest me a way to use with send queues?

+4
source share
2 answers

In my opinion, you can use the high priority queue, and then the system will make a decision. I don’t think you can do more with a big central dispatch

dispatch_queue_t q = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH, 0)

Use this queue to download.

Official documentation

- , . ( Kyokook Hwang), .

+5

, GCD.
, , , .

+1

Source: https://habr.com/ru/post/1526486/


All Articles