Michael Cook (mackal) 0534a2c6be
Switch scheduled hot zone check to search instead of split (#1313)
Using search_deliminated_string here is significantly faster than
splitting, most likely because of dynamic memory management

Some tests on my system:

----------------------------------------------------
Benchmark             Time           CPU Iterations
----------------------------------------------------
bench_split         864 ns        864 ns     807922
bench_search         35 ns         35 ns   20265205

This test was a case where the string was present somewhere in the
middle which gave a ~96% speed up

----------------------------------------------------
Benchmark             Time           CPU Iterations
----------------------------------------------------
bench_split         936 ns        936 ns     725518
bench_search         61 ns         61 ns   11156359

This test was when the string was not present, which will be the vast
majority of times this is actually checked, was ~93% speed up
2021-04-07 01:17:30 -05:00
..
2015-06-20 19:44:00 -07:00
2020-03-12 00:00:39 -05:00
2021-02-07 15:00:16 -06:00
2019-12-10 02:02:42 -05:00
2021-02-01 21:07:07 -05:00
2019-10-12 21:07:06 -07:00
2019-10-12 21:07:06 -07:00
2018-03-04 13:54:28 -05:00
2017-04-10 14:52:44 -04:00
2017-05-19 22:50:08 -07:00
2019-10-13 00:53:31 -07:00
2017-05-15 15:46:19 -07:00
2021-02-12 02:42:03 -05:00
2021-02-23 22:34:14 -05:00
2021-03-06 19:58:18 -05:00
2018-11-07 21:55:12 -08:00
2016-05-25 16:10:28 -04:00
2019-09-01 23:54:24 -05:00
2020-04-19 04:36:39 -05:00
2016-05-25 16:10:28 -04:00
2019-10-12 21:07:06 -07:00
2020-04-19 04:36:39 -05:00
2021-01-15 19:54:44 -05:00
2021-02-07 17:08:16 -06:00
2021-02-07 15:00:16 -06:00
2021-02-07 15:00:16 -06:00
2021-02-07 15:00:16 -06:00
2021-02-06 19:19:20 -06:00
2014-12-15 19:16:53 -06:00
2017-07-15 20:29:55 -07:00
2020-02-22 16:17:18 -06:00
2020-01-31 20:25:06 -06:00
2021-03-05 15:25:32 -05:00
2021-03-05 15:25:32 -05:00