Ulrik Sverdrup
5a3aa2f73c
str: Improve .chars().count()
...
Use a simpler loop to count the `char` of a string: count the
number of non-continuation bytes. Use `count += <conditional>` which the
compiler understands well and can apply loop optimizations to.
2016-11-19 23:46:39 +01:00
..
2016-11-19 08:08:26 -08:00
2016-11-11 07:36:40 -08:00
2016-11-10 09:23:29 -08:00
2016-11-17 19:40:57 +01:00
2016-11-16 22:42:07 +01:00
2016-11-11 13:36:10 +01:00
2016-10-26 03:47:55 -07:00
2016-11-13 01:30:42 +01:00
2016-11-19 23:46:39 +01:00
2016-11-12 10:46:15 -08:00
2016-11-19 23:46:39 +01:00
2016-11-01 15:26:22 +01:00
2016-11-11 10:53:02 -08:00
2016-10-31 22:51:40 +00:00
2016-10-31 22:51:40 +00:00
2016-11-16 07:00:09 -08:00
2016-11-10 01:44:53 +02:00
2016-11-07 14:15:58 +08:00
2016-11-08 23:03:56 +10:30
2016-10-28 12:17:17 +13:00
2016-11-09 14:55:39 +01:00
2016-10-31 22:51:40 +00:00
2016-11-17 17:31:01 -08:00
2016-11-16 07:00:09 -08:00
2016-11-16 13:51:36 -05:00
2016-11-17 17:31:01 -08:00
2016-11-13 19:49:46 -05:00
2016-11-17 17:31:01 -08:00
2016-11-05 10:50:26 -07:00
2016-11-18 16:45:59 -05:00
2016-11-16 13:57:47 -05:00
2016-11-19 08:08:26 -08:00
2016-11-17 20:56:03 -08:00
2016-11-17 17:31:01 -08:00
2016-11-16 13:57:47 -05:00
2016-11-16 13:57:43 -05:00
2016-11-16 13:57:47 -05:00
2016-11-17 08:16:32 +00:00
2016-11-18 11:45:53 -08:00
2016-11-19 04:58:48 -08:00
2016-11-17 17:31:01 -08:00
2016-11-18 01:47:01 -08:00
2016-10-31 22:51:40 +00:00
2016-11-16 21:13:44 +01:00
2016-11-18 08:24:00 -08:00
2016-11-12 10:38:42 +02:00
2016-11-08 17:44:21 -08:00
2016-11-06 18:20:38 +01:00
2016-11-18 21:01:19 +10:30
2016-10-29 18:56:20 +03:00
2016-11-12 17:33:35 -05:00
2016-11-18 19:21:47 -08:00
2016-11-17 13:59:38 +08:00
2016-11-08 07:32:05 -08:00
2016-11-18 11:31:44 +01:00
2016-11-17 00:11:10 +00:00