Skip to content

Fix bytesplice#191

Merged
HoneyryderChuck merged 3 commits into
igrigorik:mainfrom
HoneyryderChuck:fix-bytesplice
Jul 6, 2026
Merged

Fix bytesplice#191
HoneyryderChuck merged 3 commits into
igrigorik:mainfrom
HoneyryderChuck:fix-bytesplice

Conversation

@HoneyryderChuck

Copy link
Copy Markdown
Collaborator

fix String#bytesplice usage, which in order to be able to cut UTF-8 characters, requires the string to be encoded as binary, otherwise it'll raise a range error.

most of the strings passed to #read_str come from downstream usage of itself, so there are more chances of reducing string creation by returning binary strings.

…haracters, requires the string to be encoded as binary, otherwise it'll raise a range error

most of the strings passed to #read_str come from downstream usage of itself, so there are more chances of reducing string creation by returning binary strings
@HoneyryderChuck

Copy link
Copy Markdown
Collaborator Author

@igrigorik can you go to "Settings" -> "Actions" -> "General" and enable "
Allow all actions and reusable workflows" under "Actions permissions"? Without this, the coverage step won't work. I'd do it myself, but I don't have any settings available for edition (I'd probably need to be an admin of the repo).

@HoneyryderChuck HoneyryderChuck merged commit 07621f0 into igrigorik:main Jul 6, 2026
9 of 10 checks passed
@HoneyryderChuck HoneyryderChuck deleted the fix-bytesplice branch July 6, 2026 11:26
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.

1 participant