Skip to content
Snippets Groups Projects
  • Yorhel's avatar
    27cb599e
    More UI stuff + shave off 16 bytes from model.Dir · 27cb599e
    Yorhel authored
    I initially wanted to keep a directory's block count and size as a
    separate field so that exporting an in-memory tree to a JSON dump would
    be easier to do, but that doesn't seem like a common operation to
    optimize for. We'll probably need the algorithms to subtract sub-items
    from directory counts anyway, so such an export can still be
    implemented, albeit slower.
    27cb599e
    History
    More UI stuff + shave off 16 bytes from model.Dir
    Yorhel authored
    I initially wanted to keep a directory's block count and size as a
    separate field so that exporting an in-memory tree to a JSON dump would
    be easier to do, but that doesn't seem like a common operation to
    optimize for. We'll probably need the algorithms to subtract sub-items
    from directory counts anyway, so such an export can still be
    implemented, albeit slower.