Skip to content

style: cleanup comments - #120

Merged
amkram merged 1 commit into
mainfrom
chore/deslop-comments-2
Jul 14, 2026
Merged

style: cleanup comments #120
amkram merged 1 commit into
mainfrom
chore/deslop-comments-2

Conversation

@amkram

@amkram amkram commented Jul 14, 2026

Copy link
Copy Markdown
Owner

No description provided.

@amkram amkram changed the title style: deslop comments across first-party sources style: cleanup comments Jul 14, 2026
Comment/docstring-only cleanup, same rubric as the earlier deslop pass but
covering the code merged since (index param header, mmap uncompressed index,
parallel FASTQ reader, scoring prefetch, ZSTD framing) and applied more
aggressively:
- delete perf-narrative / commit-message flavor from the source (malloc %,
  ms-overhead, L3-latency, load-factor, "hot path") -- it lives in git history;
- delete comments that don't earn their place (restating obvious code,
  struct/section labels, decorative dividers, trailers echoing the field name);
- compress every remaining >2-line comment toward the essential one or two lines;
- keep every non-obvious why, invariant, unit, math derivation, citation, TODO.
No behavior change.

Verified comments-only vs main (comment+whitespace-stripped code byte-identical
across all 22 files); build clean, 0 warnings; unit + e2e + examples pass.
Excludes mgsr.* and samtools-derived pileup.c/h. 22 files, -223 lines net.
@amkram
amkram force-pushed the chore/deslop-comments-2 branch from 291dfd2 to 2708499 Compare July 14, 2026 03:12
@amkram
amkram merged commit 7a62566 into main Jul 14, 2026
4 checks passed
@amkram
amkram deleted the chore/deslop-comments-2 branch July 14, 2026 03:15
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.

1 participant