Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: broadcasting of regular strings #2564

Merged
merged 4 commits into from
Jul 3, 2023

Conversation

agoose77
Copy link
Collaborator

@agoose77 agoose77 commented Jul 3, 2023

The recent changes for string broadcasting had a missing case for regular strings. Furthermore, the broadcasting logic for lists was growing in complexity. This PR fixes bugs with broadcasting of regular strings, and merges the optimised broadcasting logic into the fallback. This reduces the number of code branches that we have to keep in sync.

@agoose77 agoose77 requested a review from jpivarski July 3, 2023 22:40
@codecov
Copy link

codecov bot commented Jul 3, 2023

Codecov Report

Merging #2564 (8ba5608) into main (125eaff) will increase coverage by 0.00%.
The diff coverage is 97.36%.

Additional details and impacted files
Impacted Files Coverage Δ
src/awkward/_broadcasting.py 94.67% <97.36%> (+1.56%) ⬆️

... and 2 files with indirect coverage changes

@agoose77 agoose77 temporarily deployed to docs-preview July 3, 2023 22:47 — with GitHub Actions Inactive
@agoose77 agoose77 merged commit f1d0844 into main Jul 3, 2023
36 checks passed
@agoose77 agoose77 deleted the agoose77/fix-string-broadcasting-regular branch July 3, 2023 23:05
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.

None yet

2 participants