greatroar
3e24d82513
lib/fs: Optimize UnicodeLowercase ( #6979 )
...
Most notably, it now detects all-lowercase files and returns these
as-is. The tests have been expanded with two cases and are now used
as a benchmark (admittedly a rather trivial one).
name old time/op new time/op delta
UnicodeLowercaseMaybeChange-8 4.59µs ± 2% 4.57µs ± 1% ~ (p=0.197 n=10+10)
UnicodeLowercaseNoChange-8 3.26µs ± 1% 3.09µs ± 1% -5.27% (p=0.000 n=9+10)
2020-09-11 09:16:10 +02:00
..
2020-08-07 07:47:48 +02:00
2020-08-07 07:47:48 +02:00
2020-08-19 07:56:35 +02:00
2020-08-07 07:47:48 +02:00
2020-08-07 07:47:48 +02:00
2020-05-13 21:46:24 +02:00
2020-05-13 21:46:24 +02:00
2020-08-19 19:58:51 +02:00
2020-08-19 19:58:51 +02:00
2020-08-19 19:58:51 +02:00
2020-05-13 21:46:24 +02:00
2019-09-29 23:38:11 +08:00
2018-03-23 12:56:38 +01:00
2017-10-20 14:52:55 +00:00
2018-03-14 14:48:22 +01:00
2018-03-14 14:48:22 +01:00
2019-07-23 14:11:15 +02:00
2018-03-14 14:48:22 +01:00
2018-07-09 18:29:22 +01:00
2020-08-03 23:24:01 +02:00
2019-05-25 20:08:26 +01:00
2019-11-21 08:41:15 +01:00
2019-09-22 08:03:22 +01:00
2020-03-03 22:40:00 +01:00
2020-08-19 19:58:51 +02:00
2020-09-09 14:38:39 +02:00
2020-09-09 14:38:39 +02:00
2020-08-25 08:11:14 +02:00
2020-08-25 08:11:14 +02:00
2020-09-09 14:38:39 +02:00
2020-07-28 11:15:11 +02:00
2019-10-04 13:03:34 +02:00
2020-04-07 09:31:29 +02:00
2020-02-12 07:47:05 +01:00
2020-09-09 14:38:39 +02:00
2020-06-18 22:32:26 +01:00
2020-06-18 08:15:47 +02:00
2020-08-07 07:47:48 +02:00
2020-06-18 08:15:47 +02:00
2019-04-22 11:12:32 +02:00
2020-09-09 14:38:39 +02:00
2020-09-11 09:16:10 +02:00
2020-09-11 09:16:10 +02:00
2019-05-25 20:08:26 +01:00
2019-11-30 13:03:24 +01:00
2020-08-07 07:47:48 +02:00
2017-09-02 05:52:38 +00:00
2019-02-02 12:16:27 +01:00
2020-08-25 08:11:14 +02:00
2020-08-25 08:11:14 +02:00
2019-04-28 23:30:16 +01:00
2019-11-10 10:16:10 +01:00
2020-08-19 19:58:51 +02:00
2020-07-22 22:10:24 +02:00