Skip to content
Unverified Commit 178a1fea authored by Ilya Tocar's avatar Ilya Tocar Committed by GitHub
Browse files

[libc++] Optimize string operator[] for known large inputs (#69500)

If we know that index is larger than SSO size, we know that we can't be
in SSO case, and should access the pointer. This removes extra check
from operator[] for inputs known at compile time to be larger than SSO.
parent 3e79f4d2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment