notus-sh / chapecron

chapecron - Look after your cron jobs while you're away
Other
0 stars 0 forks source link

Optimize `array` functions #6

Closed gael-ian closed 7 years ago

gael-ian commented 7 years ago

array::search and array::merge in chapecron are pretty slow. The current implementation was good enough when the only use was to merge middlewares config entries from system and user configurations but take forever to deal with longer lists as the declared function list used to detect the ones that have been introduced by plugins.

There should be a faster way to do that.