• bluesheep@sh.itjust.works
      link
      fedilink
      arrow-up
      1
      ·
      9 months ago

      Screw multiple files, just use one big one. Just append anything you want to add and you’ll have everything in 1 spot

      • rbos@lemmy.ca
        link
        fedilink
        English
        arrow-up
        1
        ·
        9 months ago

        Makes sense. Then you can add some kind of index to the file so you can jump to the parts you want. Just track a list of chunks, so they don’t have to be contiguous.

        • DasFaultier@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          1
          ·
          9 months ago

          Yeah, and we could give that huge file some kind of internal and logical structure to find those chunks, maybe something hierarchical with human readable names!

          • rbos@lemmy.ca
            link
            fedilink
            English
            arrow-up
            1
            ·
            9 months ago

            Yeah! Now we’re cooking! I bet we could really improve resiliency and seek times with different data structures, too. B trees?