diff options
| author | Ilya Tocar <tokarip@google.com> | 2023-10-26 13:09:20 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-26 13:09:20 -0400 |
| commit | 178a1fea57b542c39de79624662085f86f3e348f (patch) | |
| tree | 939384634c4868c01fdaec994ade67d27469703b /lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h | |
| parent | 3e79f4d2c24faaa24a4a12041b4c33d39fec2ec7 (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
