Skip to content

Consider wrapping inode_map::Entry::children inside an Option<Box<_>> #65

Description

@sanjaykenn

Currently files just have "0" children, although an empty HashMap uses up 48 bytes of memory. If you wrap it inside Option<Box<_>> you might save up memory (reducing it down to 8 bytes if you replace empty HashMaps with None) but create an additional pointer that needs to be dereferenced.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions