• SeedyOne@lemmy.ca
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    1
    ·
    1 year ago

    Remember that time a random player DRAMATICALLY decreased load times for GTA online after finding bad code that preloaded TONS of game assets? After like, a decade?

    Pepperidge Farm remembers…

    • seang96@spgrn.com
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      I believe it was a CSV file of every item in all of the shops (comma separated values) and it was being read and stored into memory single threaded so it was maxing out a single core on the CPU.

      • JackbyDev@programming.dev
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        JSON, and it had more to do with how they were checking string lengths. But yeah, the general story is that a random dude fixed massive problems with the text parsing.

    • cordlesslamp@lemmy.today
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Are you saying the INSANE GTA Online load time is fixed now?

      Back in the old day, I literally just throw my hands up and said “I can’t wait for this shit anymore, I don’t have all day” then rage quit and delete the game.