rexdf / CommandTrayHost

A command line program monitor systray for Windows
MIT License
397 stars 40 forks source link

crontab improvement #16

Closed rexdf closed 6 years ago

rexdf commented 6 years ago
rexdf commented 6 years ago

cron_parse_expr("8 */2 15-16 29 2 *", &expr, &err); takes less time than access from j.get<std::vector<uint8_t>>().data()

cron_parse_expr 50000 times, cost 2864 miliseconds
j.get<std::vector<uint8_t>>().data() 50000 times, cost 8312 miliseconds

So give up.