4 ms·
Given how simple this bug is, I was 100% certain they did it on purpose to show more ads.
by sim_card_map 6y ago
Given how simple this bug is, I was 100% certain they did it on purpose to show more ads.
- indeedmug 6y agoI don't think it was simple. It came down to the odd specifics of scanf making the algorithm O(n^2) which wasn't obvious at all from the programmer standpoint. A lot of people pan Rockstar for being incompetent but in reality, it's a C footgun that any programmer would make. Edit: I reread the article and I overlooked how there was a second issue of a poorly implemented "hash table" that was a linked list that checked the entire list for dups in every update. Since we don't have access to the source code, it's hard to say if this is poorly implemented piece of code on Rockstar's part or someone else. It could be some deeply buried piece of code that no one ever looked at for years until now.
- 295310e0 6y agoOn the gripping hand, if someone had run a profiler on the code in all of these years, it would have popped out immediately that some investigation was warranted.
- indeedmug 6y agoIt seems like the original GTAV is a efficient and well optimized game. I played it and it looks amazing for how fast it runs. They certainly ran a lot of profilers to nail the performance down. It's amazing what video games can do, look at the Doom series. https://www.youtube.com/watch?v=UsmqWSZpgJY https://www.youtube.com/watch?v=UsmqWSZpgJY But this is online GTA. I can imagine that they handed it off to another department that didn't have the same amount of discipline and expertise. it's probably an off shoot team that creates content for the engine but don't necessarily need to dig down into how the engine works.
- bredren 6y agoThen it is not a bug.
- dastx 6y agoImagine how much they'll have lost in revenue because people rage quit due to slow load times. Myself included.
- PeterisP 6y agoYep; we tried to play with some friends over the pandemic, but rather quickly we nicknamed it "Loading Online" and preferred to do anything else where you, well, get to do stuff instead of waiting for loading. Perhaps it was better back when GTA Online was just starting, but last year (whan I tried this) the loading times on good PC hardware were just outrageous compared to any other game.
- hnick 6y agoMaybe not fixing it was on purpose, but I doubt the original bug was. They could've just added a more straightforward sleep/delay in the code. If anyone finds it they can say it was accidentally leftover testing code because they needed a delay to see ads in the office to make sure it works.