Antonio Scandurra
af4c4c7cf0
Speed up tab searching in TabMap::sync by looking for \t only
...
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`.
2023-03-30 10:03:13 +02:00
..
2023-02-20 20:28:48 -08:00
2023-01-23 12:47:12 -08:00
2023-03-17 15:58:52 +01:00
2023-03-29 15:46:43 -04:00
2023-03-21 11:26:13 -07:00
2023-03-17 15:58:52 +01:00
2023-03-21 11:26:13 -07:00
2023-01-23 12:47:12 -08:00
2023-03-27 00:00:16 -04:00
2023-03-24 08:52:43 -07:00
2023-01-23 12:47:12 -08:00
2023-03-08 17:56:39 -08:00
2023-02-23 14:10:55 -08:00
2023-03-17 15:58:52 +01:00
2023-03-21 11:26:13 -07:00
2023-01-23 12:47:12 -08:00
2023-03-30 10:03:13 +02:00
2023-03-21 11:26:13 -07:00
2023-03-21 11:26:13 -07:00
2023-03-21 11:26:13 -07:00
2023-01-23 12:47:12 -08:00
2023-02-27 12:06:10 -08:00
2023-01-23 12:47:12 -08:00
2023-03-21 11:26:13 -07:00
2023-03-29 17:24:44 -07:00
2023-01-23 12:47:12 -08:00
2023-03-07 12:19:51 -08:00
2023-03-10 10:48:30 -08:00
2023-03-29 09:04:13 +02:00
2023-03-23 13:29:23 -07:00
2023-03-21 11:26:13 -07:00
2023-03-17 15:58:52 +01:00
2023-03-27 00:00:16 -04:00
2023-01-23 12:47:12 -08:00
2023-01-23 12:47:12 -08:00
2023-03-21 11:26:13 -07:00
2023-03-17 09:32:01 -07:00
2023-03-17 15:58:52 +01:00
2023-03-17 15:58:52 +01:00
2023-03-17 15:58:52 +01:00
2023-03-24 14:35:18 -07:00
2023-03-27 16:45:11 -07:00
2023-03-21 11:26:13 -07:00
2023-03-21 11:26:13 -07:00
2023-03-20 19:29:22 +01:00
2023-03-17 15:58:52 +01:00
2023-03-21 11:26:13 -07:00
2023-03-27 15:58:12 -04:00
2023-01-23 12:47:12 -08:00
2023-02-13 13:50:37 -08:00
2023-01-23 12:47:12 -08:00
2023-01-23 12:47:12 -08:00
2023-03-17 15:58:52 +01:00
2023-03-29 15:46:43 -04:00
2023-03-21 11:26:13 -07:00
2023-03-29 15:46:43 -04:00
2023-03-21 11:26:13 -07:00
2023-03-17 15:12:02 +01:00
2023-03-27 00:00:16 -04:00
2023-03-27 15:58:12 -04:00
2023-03-08 18:47:52 -08:00
2023-03-29 15:46:43 -04:00
2023-03-29 17:24:44 -07:00