How I cut GTA Online loading times by 70%

GTA Online. Infamous for its slow loading times. Having picked up the game again to finish some of the newer heists I was shocked (/s) to discover that it still loads just as slow as the day it was re

Click to view the original at

Hasnain says:

This is a technically engaging read, the author got annoyed at really long load times in GTA:O and decided to do something about it.

I’m also surprised, given that this game is such a huge cash cow, that no one from Rockstar thought to ever profile this code given that their load times were >6 minutes and this would have stuck out like a sore thumb in any profiling.

“If this somehow reaches Rockstar: the problems shouldn’t take more than a day for a single dev to solve. Please do something about it :<

You could either switch to a hashmap for the de-duplication or completely skip it on startup as a faster fix. For the JSON parser - just swap out the library for a more performant one. I don’t think there’s any easier way out.”

Posted on 2021-02-28T23:13:53+0000