Skip to content

Conversation

@tearfur
Copy link
Member

@tearfur tearfur commented Dec 17, 2025

The code to fill the candidate vector in the Wishlist constructor is just a simplified version of recalculate_wanted_pieces(), so directly re-use the function in the constructor.

Note

This PR is not correct without #7945, so that PR should be merged first. Edit: Merged.

@tearfur tearfur added scope:core type:refactor A code change that neither fixes a bug nor adds a feature notes:none Should not be listed in release notes labels Dec 17, 2025
@tearfur tearfur force-pushed the reuse-recalculate branch 2 times, most recently from 9c16ae4 to 22efd58 Compare December 19, 2025 00:43
@tearfur tearfur marked this pull request as ready for review December 19, 2025 00:58
@ckerr ckerr merged commit 1549564 into transmission:main Dec 19, 2025
27 checks passed
@tearfur tearfur deleted the reuse-recalculate branch December 20, 2025 00:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

notes:none Should not be listed in release notes scope:core type:refactor A code change that neither fixes a bug nor adds a feature

Development

Successfully merging this pull request may close these issues.

2 participants