• bluesheep@sh.itjust.works
      link
      fedilink
      arrow-up
      28
      ·
      12 days ago

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

      • Rob Bos@lemmy.ca
        link
        fedilink
        English
        arrow-up
        19
        ·
        12 days 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
          17
          ·
          12 days 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!

          • Rob Bos@lemmy.ca
            link
            fedilink
            English
            arrow-up
            10
            ·
            11 days ago

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

          • Rob Bos@lemmy.ca
            link
            fedilink
            English
            arrow-up
            6
            ·
            11 days ago

            Or maybe we could keep the flat structure and have some kind of syntax for querying the data… some kind of structured language.