Skip to content

getk_response_from_buffer: search terminator with byteindex#1112

Merged
petergoldstein merged 1 commit into
petergoldstein:mainfrom
byroot:byteindex
Jun 2, 2026
Merged

getk_response_from_buffer: search terminator with byteindex#1112
petergoldstein merged 1 commit into
petergoldstein:mainfrom
byroot:byteindex

Conversation

@byroot

@byroot byroot commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

Pure nitpick.

In practice it makes no difference because buf is always Encoding::BINARY, so always treated as single byte.

But since we're using that index with byteslice it's less surprising to query it with byteindex.

In practice it makes no difference because `buf` is always
`Encoding::BINARY`, so always treated as single byte.

But since we're using that index with `byteslice` it's less surprising
to query it with `byteindex`.
@petergoldstein petergoldstein merged commit 43416e9 into petergoldstein:main Jun 2, 2026
10 checks passed
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.

2 participants