Skip to content

docs(audits): PathBuf/Arc<Path> overhead per FileEntry RSS audit (#1048) - #3902

Merged
oferchen merged 1 commit into
masterfrom
audits/path-overhead-per-fileentry
May 7, 2026
Merged

oferchen merged 1 commit into
masterfrom
audits/path-overhead-per-fileentry

Conversation

@oferchen

@oferchen oferchen commented May 7, 2026

Copy link
Copy Markdown
Owner

Summary

  • Document the RSS gap from PathBuf + Arc<Path> storage on every FileEntry.
  • Quantify the ~19 MB / 100 K-entry path overhead vs upstream's slab-backed file_struct (~10 MB).
  • Identify what Add aliases for session handshake part conversions #1049 (dirname interning) recovered and what remains in the name: PathBuf field.
  • Sketch three compact-path proposals (whole-path interning, parent-index + basename, SmolStr inline) with risk callouts for --iconv, interner thread-safety, and drop ordering.

Closes #1048.

Test plan

  • Docs-only change; CI fmt + clippy + nextest cover the markdown via repo lints.

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label May 7, 2026
@oferchen
oferchen merged commit baddd80 into master May 7, 2026
8 checks passed
@oferchen
oferchen deleted the audits/path-overhead-per-fileentry branch May 8, 2026 03:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant