Skip to content

Conversation

@1RyanK
Copy link
Contributor

@1RyanK 1RyanK commented Jun 9, 2025

Applied mostly the same changes to binopvs and binopsv from binopvv. This could possibly benefit from being collapsed into one function that works regardless of vector or scalar.

Closes #4460: Simplify and extend logic in binopvs
Closes #4461: Simplify and extend logic in binopsv

@1RyanK 1RyanK force-pushed the 4460-Simplify_and_extend_logic_in_binopvs branch 2 times, most recently from 2c1103e to 39fb08d Compare June 9, 2025 13:43
@1RyanK 1RyanK marked this pull request as ready for review June 9, 2025 14:28
Copy link
Contributor

@drculhane drculhane left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is good work. I think in the future we might want to expand test_can_cast, but that's for another day.

Copy link
Contributor

@e-kayrakli e-kayrakli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes look nice and the new code is certainly much more readable. Thanks!

Reviewing the diff is not super-easy, though. Based on that, I would be definitely on the look out for correctness and performance issues after this PR is merged to ensure that there is no regression. I am especially worried about some edge-case implementations and whether we'd be losing something there.

@1RyanK 1RyanK force-pushed the 4460-Simplify_and_extend_logic_in_binopvs branch from 0730810 to 7a9e6bb Compare June 10, 2025 11:54
@1RyanK 1RyanK force-pushed the 4460-Simplify_and_extend_logic_in_binopvs branch from 7a9e6bb to 24aa256 Compare June 10, 2025 11:55
@ajpotts ajpotts enabled auto-merge June 10, 2025 19:21
@ajpotts ajpotts added this pull request to the merge queue Jun 10, 2025
Merged via the queue into Bears-R-Us:master with commit beda0f8 Jun 10, 2025
27 checks passed
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.

Simplify and extend logic in binopsv Simplify and extend logic in binopvs

4 participants