Sitelet https://github.com/nonstd-lite/string-view-lite/pull/38
Skip to content

Fix usage of char type builtins or mem-functions wrt constexpr-ness (#34, thanks to @mcskatkat) - #38

Merged
martinmoene merged 8 commits into
masterfrom
constexpr-compare-3
Oct 4, 2020
Merged

martinmoene merged 8 commits into
masterfrom
constexpr-compare-3

Conversation

@martinmoene

Copy link
Copy Markdown
Collaborator

Providing char-type specializations for compare() and length() that use compiler intrinsics can improve compile- and run-time performance.

The challenge is in using the right combinations of builtin availablity and its constexpr-ness.

@martinmoene
martinmoene merged commit fabd391 into master Oct 4, 2020
@martinmoene
martinmoene deleted the constexpr-compare-3 branch October 4, 2020 13:03
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