Closed foshechka closed 9 years ago
The search speed is entirely dependent on the speed of the replies from vk.com
I guess is that more recent queries get cached by vk.com on their servers. I think this because searching the same query returns results much faster the second time. Also that would explain why searching for more popular songs produce results faster.
Because the bottleneck is not on the coding side (apart from playlist loading), there is nothing I can do about it.
I say this because I think that in the script alashova Search works quickly and vkdl something to think about.
I have no idea why his script would be faster. It's exactly the same in terms of search. I think his code even requests more results then mine does. maybe it has something to do with it being served through rawgit?
In case you are interested below is the stats:
Ok, thnks.
Why search speed is less than the standard script? What affects the speed of the impact of the results?