this post was submitted on 18 Sep 2024
38 points (95.2% liked)
Gaming
2520 readers
35 users here now
The Lemmy.zip Gaming Community
For news, discussions and memes!
Community Rules
This community follows the Lemmy.zip Instance rules, with the inclusion of the following rule:
- No NSFW content
You can see Lemmy.zip's rules by going to our Code of Conduct.
What to Expect in Our Code of Conduct:
- Respectful Communication: We strive for positive, constructive dialogue and encourage all members to engage with one another in a courteous and understanding manner.
- Inclusivity: Embracing diversity is at the core of our community. We welcome members from all walks of life and expect interactions to be conducted without discrimination.
- Privacy: Your privacy is paramount. Please respect the privacy of others just as you expect yours to be treated. Personal information should never be shared without consent.
- Integrity: We believe in the integrity of speech and action. As such, honesty is expected, and deceptive practices are strictly prohibited.
- Collaboration: Whether you're here to learn, teach, or simply engage in discussion, collaboration is key. Support your fellow members and contribute positively to shared learning and growth.
If you enjoy reading legal stuff, you can check it all out at legal.lemmy.zip.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
GTA online took ages to load, like 10+ minutes on some machines. One guy got really annoyed and investigated. It turned out to be loading a single 10MB JSON file in an incredibly inefficient manner. The JSON file contains about 60,000 items and they need to extract each item from it, but every time they look for the next item they start from the beginning of the file again, despite already knowing where they found the previous item! All the entries in the JSON list are unique, but the code also checks for any duplicate entries, of course it's also done in the least efficient way possible requiring 1,984,531,500 comparisons for something that has no effect. Not only did this one person find these problems but he also implemented a fix that reduced load times by 70% as a result, shaving off more than 7 minutes of load times for some machines. The fact that Rockstar didn't notice this is frankly shocking and speaks to the fact that they really just don't care.
https://nee.lv/2021/02/28/How-I-cut-GTA-Online-loading-times-by-70/
Thats ... amazing.
Reminds me of when someone figured out that a huge part of the reason Halo Infinite takes so long to load and go between various menu screens was something like the game redownloading hundreds or thousands of the same exact image, in very high resolutions... basically instead of just pointing multiple instances of the image being used to a single file and directory, for some reason each distinct usage of this same image had its own unique directory...
Its the kind of oopsie daisy you expect from a first time modder, not some of the most expensive dev teams in the world.
Also along those lines, kind of: BF2042 has had and still does have a fundamental flaw with the engine level code for fucking mouse movement interpolation.
They never fixed it. They admitted it exists in their bug logs, but they never managed to fix one of the most fundamental parts of a shooter game, how aiming itself works.
I have no love for R*, but in this case it's more to do with the size of the company and the fact that the programmers don't get the time to look through and find everything. Even if they did know about it, they may not get the time or resources to fix it because they have schedules and deadlines.
They almost immediately fixed the problem when that modder came to them with the fix and they even paid him a bounty for it.
I think that's the point, nobody is blaming the individual dev but the org and leadership.