Skip to content

Conversation

@anonrig
Copy link
Member

@anonrig anonrig commented Oct 7, 2024

Removes unnecessary string_view creation and adds likely and unlikely to several branches.

@anonrig anonrig requested review from jasnell and lemire October 7, 2024 02:38
Copy link
Member

@lemire lemire left a comment

Choose a reason for hiding this comment

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

It is all fine.

I would be careful generally with likely and unlikely markers. The compiler might not do what you expect.

In this case, it is unlikely to matter either way.

@anonrig anonrig merged commit ddada9b into main Oct 7, 2024
@anonrig anonrig deleted the remove-unnecessary-string-view branch October 7, 2024 18:50
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.

3 participants