Skip to content

RCSP : use range; simplify flags - #701

Open
andreacassioli wants to merge 1 commit into
boostorg:developfrom
andreacassioli:rcsp-simplify-out-edges-extension
Open

andreacassioli wants to merge 1 commit into
boostorg:developfrom
andreacassioli:rcsp-simplify-out-edges-extension

Conversation

@andreacassioli

@andreacassioli andreacassioli commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Important

New algorithms and API additions need a design issue first. Such a PR is not reviewed until an issue has settled the API and frozen the scope. PRs whose scope grows under review go stale. See How To Contribute an Algorithm.

Motivation

Improve readability and consistency in the RCSP code.

What this PR does

  • use make_iterator_range in one of the for loop instead of boost::tie
  • move a flag from outer to inner scope
  • flip a if-else on positive condition

Before submitting

  • I searched for an existing PR or issue covering the same change.
  • This PR targets the develop branch.
  • My contribution is licensed under the Boost Software License 1.0.

Kind of change

Tick exactly one. Each kind is reviewed differently, so mixing them in one PR makes the diff difficult to review (why).

  • Reformat (layout only, no token added or removed)
  • Refactor (no observable behavior change)
  • Behavior change (observable to users of the library)
  • No code change (documentation, build, CI, or tooling)

Change category

  • Bug fix
  • New algorithm or API addition
  • Deprecation or removal
  • Performance
  • Tests
  • Documentation
  • Build, CI, or tooling
  • Other (specify below)

@github-actions

Copy link
Copy Markdown

Boost dependency footprint vs develop (auto-generated).
PR run 45267170028 vs develop run 41456613543 (cbd686c336).

Header-inclusion weights (graph files pulling each direct dependency in):

Dependency develop PR Δ
range 10 11 +1

Transitive Boost modules: 47 → 47 (0)

@codecov

codecov Bot commented Nov 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-actions

Copy link
Copy Markdown

Compiler-warning counts vs develop (auto-generated).
PR run 45267170183 vs develop run 41456613686 (cbd686c336).

Job Baseline After Delta
macos (clang, 14) 256 256 0
macos (clang, 17) 255 255 0
macos (clang, 20) 255 255 0
ubuntu (clang-19, 14) 256 256 0
ubuntu (clang-19, 17) 255 255 0
ubuntu (clang-19, 20) 255 255 0
ubuntu (clang-19, 23) 255 255 0
ubuntu (gcc-14, 14) 350 350 0
ubuntu (gcc-14, 17) 346 346 0
ubuntu (gcc-14, 20) 346 346 0
ubuntu (gcc-14, 23) 346 346 0
windows_msvc_14_3 (msvc-14.3) 955 955 0

@andreacassioli andreacassioli changed the title use range; simplify flags RCSP : use range; simplify flags Nov 27, 2026
@andreacassioli
andreacassioli marked this pull request as ready for review November 27, 2026 22:37
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