• mriswith@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    21 hours ago

    In large scale online games you have issues ranging from obscure things causing memory leaks based on drivers, hardware combinations, etc. and all the way to basic things getting overlooked. One of my favorite examples being GTA5 online.

    They forgot to update a function from early testing, and it was in the game for about a decade before someone else debugged the launch process. And then realized that it was going through the entire comparison file for each item it checked on the local list. So “changing a few lines” ended up reducing initial load times by up to 70% depending on the cpu and storage media.

    EDIT: I’ve been drinking and probably misreemebred parts, so here is the post about how he found the issue

    • shoo@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      5 hours ago

      That’s kind of a funny example because, on a quick skim, nothing he did was exceptionally clever or unusual (other than workarounds for not having source code). R* basically paid him 10k for some basic profiling that they never bothered to do.