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

refcounted_he_(new|fetch)_pvn: Don't roll-own code #22808

Merged
merged 2 commits into from
Dec 16, 2024

Conversation

khwilliamson
Copy link
Contributor

The new function utf8_to_bytes_temp_pv() does a better job than these
code sections that are nearly duplicates of each other.

It's better for several reasons, such as that for long keys, it checks a
word at a time if it is downgradable.

This is a follow on to #22638, which was closed without the original
commits that this replaces.

  • This set of changes does not require a perldelta entry.

@khwilliamson khwilliamson force-pushed the hv_fetch branch 2 times, most recently from f7257b9 to 001f17c Compare December 5, 2024 01:05
@khwilliamson khwilliamson added the squash-before-merge Author must squash the commits down before merging to blead label Dec 5, 2024
@jkeenan jkeenan requested review from tonycoz and iabyn December 13, 2024 15:59
Copy link
Contributor

@tonycoz tonycoz left a comment

Choose a reason for hiding this comment

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

Looks fine with the squash

The indentation for some lines in one function was only 2 spaces.

Remove trailing blanks

And This will minimize the diff listing in the next commit when white space
isn't ignored.
The new function utf8_to_bytes_new_pv() does a better job than these
code sections that are nearly duplicates of each other.

It's better for several reasons, such as that for long keys, it checks a
word at a time if it is downgradable.

This is a follow on to Perl#22638, which was closed without the original
commits that this replaces.
@khwilliamson khwilliamson merged commit 3be0722 into Perl:blead Dec 16, 2024
33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
squash-before-merge Author must squash the commits down before merging to blead
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants