Instead of looking for `\n` as a stopping condition, we cap the range we pass to `SuggestionSnapshot::chunks` to stop on the next line. This makes character searching faster, because looking for a single character uses `memchr`. Also, this avoids an extra conditional in a tight loop such as the chunk scanning one contained in `TabMap::sync`.
Antonio Scandurra committed on 3/30/2023, 8:03:13 AMparent79346b0
1 file changedLine totals unavailable