• rbos@lemmy.ca
    link
    fedilink
    English
    arrow-up
    19
    ·
    1 month 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
      ·
      1 month 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
        10
        ·
        1 month ago

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

      • rbos@lemmy.ca
        link
        fedilink
        English
        arrow-up
        6
        ·
        1 month ago

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