summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h
diff options
context:
space:
mode:
authorIlya Tocar <tokarip@google.com>2023-10-26 13:09:20 -0400
committerGitHub <noreply@github.com>2023-10-26 13:09:20 -0400
commit178a1fea57b542c39de79624662085f86f3e348f (patch)
tree939384634c4868c01fdaec994ade67d27469703b /lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h
parent3e79f4d2c24faaa24a4a12041b4c33d39fec2ec7 (diff)
[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.
Diffstat (limited to 'lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h')
0 files changed, 0 insertions, 0 deletions