Skip to content

Default daemon shorthand hosts to localhost#1048

Merged
oferchen merged 1 commit into
masterfrom
implement-missing-functionality-for-oc-rsync
Oct 24, 2025
Merged

Default daemon shorthand hosts to localhost#1048
oferchen merged 1 commit into
masterfrom
implement-missing-functionality-for-oc-rsync

Conversation

@oferchen
Copy link
Copy Markdown
Owner

Summary

  • default daemon address parsing to localhost when the host component is omitted
  • allow username-qualified daemon shorthands like user@:: and keep the provided identity
  • add regression tests covering the :: shorthand to prevent regressions

Testing

  • cargo test

https://chatgpt.com/codex/tasks/task_e_68fbaf65d1b0832380329357946c37f8

@oferchen oferchen merged commit b11fb08 into master Oct 24, 2025
@oferchen oferchen deleted the implement-missing-functionality-for-oc-rsync branch October 24, 2025 17:13
oferchen added a commit that referenced this pull request May 5, 2026
Adds an audit for task #1048 quantifying the path-storage portion of
the 100K-files RSS gap (87.5 vs 7.4 MB at v0.5; 42.6 vs 7.9 MB current
per the flist-memory baseline). Per-entry breakdown of `name: PathBuf`
(24 B inline + heap with capacity slack) and `dirname: Arc<Path>`
(16 B inline + 16 B `ArcInner` header), comparison to upstream's
pool-allocated `struct file_struct` + `lastdir` cache from
`flist.c`/`rsync.h`, and a test/benchmark plan reusing the existing
file-entry memory benchmark. Recommends an `Arc<[u8]>` per-flist arena
with `(offset, len)` slice fields as the natural shape for #1050,
with `Box<[u8]>` post-sort as the smaller mechanical fallback.
oferchen added a commit that referenced this pull request May 7, 2026
Audit per-entry path overhead in FileEntry vs upstream's pool-allocated
file_struct, quantify the RSS gap at 100K entries, and propose five
reduction strategies (Box<Path>, basename arena, packed extras, basename
interning, bump allocator) with implementation cost and recommended
sequencing. Closes task #1048.
oferchen added a commit that referenced this pull request May 18, 2026
Adds an audit for task #1048 quantifying the path-storage portion of
the 100K-files RSS gap (87.5 vs 7.4 MB at v0.5; 42.6 vs 7.9 MB current
per the flist-memory baseline). Per-entry breakdown of `name: PathBuf`
(24 B inline + heap with capacity slack) and `dirname: Arc<Path>`
(16 B inline + 16 B `ArcInner` header), comparison to upstream's
pool-allocated `struct file_struct` + `lastdir` cache from
`flist.c`/`rsync.h`, and a test/benchmark plan reusing the existing
file-entry memory benchmark. Recommends an `Arc<[u8]>` per-flist arena
with `(offset, len)` slice fields as the natural shape for #1050,
with `Box<[u8]>` post-sort as the smaller mechanical fallback.
oferchen added a commit that referenced this pull request May 18, 2026
Audit per-entry path overhead in FileEntry vs upstream's pool-allocated
file_struct, quantify the RSS gap at 100K entries, and propose five
reduction strategies (Box<Path>, basename arena, packed extras, basename
interning, bump allocator) with implementation cost and recommended
sequencing. Closes task #1048.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant