Karl Seguin 75b48ef503
std.mem: use indexOfScalarPos when indexOf is called where needle.len == 1
When `std.mem.indexOf` is called with a single-item needle, use `indexOfScalarPos` which is significantly faster than the more general `indexOfPosLinear`.  This can be done without introducing overhead to normal cases (where `needle.len > 1`).
2023-10-09 16:50:16 +03:00
..
2023-10-02 15:31:49 -06:00
2023-10-02 15:31:49 -06:00
2023-10-09 16:44:14 +03:00
2023-09-13 18:24:59 -04:00
2023-10-06 14:44:47 -04:00
2023-10-06 11:49:31 -07:00
2023-04-22 13:09:15 +03:00
2023-09-24 02:47:21 +01:00
2023-08-24 22:38:47 -07:00
2023-10-02 15:31:49 -06:00
2023-09-02 00:18:53 +02:00
2023-06-25 14:51:03 -07:00
2023-10-02 15:31:49 -06:00
2023-10-02 15:31:49 -06:00
2023-06-10 20:42:30 -07:00
2023-09-13 18:24:59 -04:00
2023-10-06 14:44:47 -04:00
2023-10-06 11:49:31 -07:00
2023-10-02 15:31:49 -06:00
2023-10-02 17:02:25 -07:00
2023-10-02 16:37:37 -06:00
2023-10-02 15:31:49 -06:00
2023-07-07 11:57:09 -07:00
2023-09-29 00:32:43 -07:00