• SeedyOne@lemmy.ca
    link
    fedilink
    English
    arrow-up
    2
    ·
    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.