Live data from Hacker News

I cut GTA Online loading times (2021)

nee.lv

1–10 of 221 posts

Re: I cut GTA Online loading times (2021)

#3
Clickbait title ;)

The problem wasn't strlen(), that just showed up at the bottom of the call stack when profiling.

IIRC the actual problem was an exceptionally dumb JSON parser combined with parsing a pretty big JSON file (which probably also grew much bigger than the original developer working on that feature anticipated).

Edit: the title has been edited in the meantime, originally it was something about strlen() being responsible for the slow loading time.

Re: I cut GTA Online loading times (2021)

#8

Clickbait title ;) The problem wasn't strlen(), that just showed up at the bottom of the call stack when profiling. IIRC the actual problem was an exceptionally dumb JSON parser combined with parsing a pretty big JSON file (which probably also grew much bigger than the original developer working on that feature anticipated). Edit: the title has been edited in the meantime, originally it was something about strlen() b…

It's funny though. Several years ago a coworker did some profiling on one of our server software components and found that it was spending up to 10% of the CPU time in strlen()... for very similar reasons.

Re: I cut GTA Online loading times (2021)

#9
post #4

Did rockstar ever release a patch for this ?

They took his fix, applied it to the game in an update and paid him a bug bounty of $10,000.

"Just got awarded $10k through their H1 in-game bounty as an exception"

https://support.rockstargames.com/articles/360061161574/GTAV...

Post reply on HN