diff options
| author | Maxime Coste <mawww@kakoune.org> | 2022-12-03 08:24:38 +1100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2022-12-03 08:24:38 +1100 |
| commit | 78c44e94dc5b346a9963556bc226f4bdcb2c6d80 (patch) | |
| tree | 834e8efedd2a87218d3ef583eea7c49a0769599c /src/buffer_utils.cc | |
| parent | cd73f2aa1783cfce1cefd056ac459d0b20db5913 (diff) | |
Rework StringOps::substr implementation
Avoid iterating over the whole string when the length is not provided
just use the end iterator directly.
Diffstat (limited to 'src/buffer_utils.cc')
0 files changed, 0 insertions, 0 deletions
