• bluesheep@sh.itjust.works
    link
    fedilink
    arrow-up
    28
    ·
    21 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
      ·
      21 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
        ·
        21 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
          ·
          21 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
          ·
          21 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.