Skip to content

Reduce EntryNode memory usage#5

Open
luxean wants to merge 3 commits into
mainfrom
leaner-entry
Open

Reduce EntryNode memory usage#5
luxean wants to merge 3 commits into
mainfrom
leaner-entry

Conversation

@luxean

@luxean luxean commented Feb 17, 2026

Copy link
Copy Markdown
Contributor

Removed metadata and name from EntryNode.

What did we gain?
EntryNode went from 280 bytes to 56. This greatly reduces overall memory usage.

What did it cost?
A selected entry has to fetch metadata to get access_time, mode, and self_size.

Fixes #4

@luxean luxean linked an issue Feb 17, 2026 that may be closed by this pull request
@luxean luxean force-pushed the leaner-entry branch 2 times, most recently from 15926b4 to f950b54 Compare February 19, 2026 15:10
@luxean luxean requested a review from BajaCali February 19, 2026 15:28
@luxean luxean marked this pull request as ready for review February 19, 2026 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

EntryNode stores way more information than is needed

1 participant