Skip to content

Closes #4497: Create a repartitionByLocaleString function - #4557

Merged
ajpotts merged 1 commit into
Bears-R-Us:masterfrom
1RyanK:4497-Create_a_repartitionByLocaleString_function
Jun 13, 2025
Merged

ajpotts merged 1 commit into
Bears-R-Us:masterfrom
1RyanK:4497-Create_a_repartitionByLocaleString_function

Conversation

@1RyanK

@1RyanK 1RyanK commented Jun 5, 2025

Copy link
Copy Markdown
Contributor

Moved some of the logic from my concatenateUniqueStrMsg function into the newly created Repartition module. No new unit tests because this is still tested by test_concatenate_uniquely.

There are three coforalls in the Repartition version, but I think ultimately, it is a small price to pay for the convenience of a helper function in this context. Moreover, I don't think any of the coforalls are particularly cumbersome.

I also revamped a for into two foralls, which if there are at least two threads, I think that's a win.

Closes #4497: Create a repartitionByLocaleString function

@1RyanK
1RyanK force-pushed the 4497-Create_a_repartitionByLocaleString_function branch 4 times, most recently from def5216 to 2e0dee9 Compare June 5, 2025 18:16
@1RyanK
1RyanK marked this pull request as ready for review June 5, 2025 18:18
@1RyanK
1RyanK force-pushed the 4497-Create_a_repartitionByLocaleString_function branch from 2e0dee9 to edb67f9 Compare June 6, 2025 10:48
@1RyanK
1RyanK force-pushed the 4497-Create_a_repartitionByLocaleString_function branch from edb67f9 to dd8ff38 Compare June 10, 2025 12:11

@drculhane drculhane left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Whew. That's a ton of code, and it all looks good. Nice work.

@ajpotts ajpotts left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for this one!

@ajpotts
ajpotts added this pull request to the merge queue Jun 13, 2025
Merged via the queue into Bears-R-Us:master with commit e8e9ca7 Jun 13, 2025
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.

Create a repartitionByLocaleString function

3 participants