Dylan DPC
d5b86d5ee9
Rollup merge of #101690 - kadiwa4:avoid_iterator_last, r=oli-obk
...
Avoid `Iterator::last`
Adapters like `Filter` and `Map` use the default implementation of `Iterator::last` which is not short-circuiting (and so does `core::str::Split`). The predicate function will be run for every single item of the underlying iterator. I hope that removing those calls to `last` results in slight performance improvements.
2022-09-13 16:51:31 +05:30
..
2022-09-13 16:51:31 +05:30
2022-09-12 16:54:25 +02:00
2022-09-09 22:02:18 +05:30
2022-09-06 03:16:29 +00:00
2022-09-07 07:43:54 +09:00
2022-09-11 17:23:00 +02:00
2022-09-09 12:45:26 +10:00
2022-09-13 01:19:05 +00:00
2022-09-06 14:09:49 +00:00
2022-09-12 15:21:29 +05:30
2022-09-13 04:00:24 +00:00
2022-09-10 09:50:21 +00:00
2022-09-12 15:57:37 +00:00
2022-09-08 16:08:53 -07:00
2022-09-13 04:00:24 +00:00
2022-09-10 11:49:12 +02:00
2022-09-13 16:51:31 +05:30
2022-09-13 01:19:05 +00:00
2022-09-13 16:51:31 +05:30
2022-09-09 01:31:46 +00:00
2022-09-12 02:00:20 +00:00
2022-09-12 16:45:03 +03:00
2022-09-08 06:15:33 +09:00
2022-09-13 16:51:31 +05:30
2022-09-12 20:08:58 +02:00
2022-09-09 15:54:14 +02:00
2022-09-05 02:18:45 -04:00
2022-09-12 16:45:03 +03:00
2022-09-13 01:19:05 +00:00
2022-09-10 12:07:29 +00:00
2022-09-06 14:18:32 +00:00
2022-09-11 14:04:17 +08:00
2022-09-09 13:36:27 +02:00
2022-09-09 17:25:38 +10:00
2022-09-13 01:19:05 +00:00
2022-09-10 11:49:12 +02:00
2022-09-10 18:56:10 +05:30
2022-09-08 11:55:10 +05:30
2022-09-11 17:23:00 +02:00
2022-09-09 01:31:46 +00:00
2022-09-13 16:51:31 +05:30
2022-09-13 06:41:37 +00:00
2022-09-08 20:55:55 -04:00
2022-09-09 15:26:19 -04:00
2022-09-12 22:47:15 +02:00
2022-09-08 20:55:55 -04:00
2022-09-04 07:55:44 +00:00
2022-09-12 03:24:29 +00:00
2022-09-08 20:55:55 -04:00
2022-09-12 22:47:13 +02:00