Skip to content

docs(design): defer RJN-3 (fanout) and RJN-4 (bench) as N/A after RJN-2 rename#4676

Merged
oferchen merged 1 commit into
masterfrom
docs/design-rjn-3-4-deferred
May 21, 2026
Merged

docs(design): defer RJN-3 (fanout) and RJN-4 (bench) as N/A after RJN-2 rename#4676
oferchen merged 1 commit into
masterfrom
docs/design-rjn-3-4-deferred

Conversation

@oferchen
Copy link
Copy Markdown
Owner

Summary

References

Test plan

  • Pure markdown; no source edits.
  • Line count within 80-150 (150 lines).
  • cargo fmt --all clean.

…-2 rename

RJN-2 (PR #4660, merged) chose the rename path over the fanout-refactor path,
discharging the RJN-1 audit (PR #4656, merged) with apply_chunk_parallel ->
apply_one_chunk plus a rustdoc redirect to apply_batch_parallel. RJN-3
(implement fanout) and RJN-4 (bench scheduler shape) were the "if RJN-2 chose
refactor" branch that did not get taken; this doc closes both.

- RJN-3 stays closed: zero production callers of apply_one_chunk; the real
  multi-chunk win sits in apply_batch_parallel, where ABW-1 (PR #4670) already
  recommended deferring per its quantified 1.03x-1.50x speedup range; the
  ABW-2/3/4 closure doc defers that track pending BR-3j.f (#2508) bench data.
- RJN-4 is N/A: with RJN-3 deferred there is no "after" cell to measure; the
  production-weighted scheduler-shape bench effort belongs in
  parallel_receive_delta_perf via BR-3j.f, not at the per-chunk entry point.
- Re-open conditions: a production caller of apply_one_chunk ships AND
  profiling shows the per-chunk path is hot.

Project memory references project_rayon_join_per_chunk_noop.md and
project_apply_batch_write_serial.md - both observations remain accurate
under the renamed function.
@oferchen oferchen merged commit 2da5623 into master May 21, 2026
10 checks passed
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label May 21, 2026
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