-
Notifications
You must be signed in to change notification settings - Fork 559
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refcounted_he_(new|fetch)_pvn: Don't roll-own code
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 #22638, which was closed without the original commits that this replaces.
- Loading branch information
1 parent
3482f8d
commit 1d76b57
Showing
1 changed file
with
17 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters