diff options
author | Lukas Reschke <lukas@owncloud.com> | 2015-01-10 11:50:07 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2015-01-10 12:06:51 +0100 |
commit | 310424db5d57536edcc9238224415756a1c8a624 (patch) | |
tree | adc4acf8c090d1b5c03c6b59254dfa45feeb4afb /cron.php | |
parent | ae3483299cc8bfc226d8fe2a2501fd32c745c745 (diff) | |
download | nextcloud-server-310424db5d57536edcc9238224415756a1c8a624.tar.gz nextcloud-server-310424db5d57536edcc9238224415756a1c8a624.zip |
Use isset() instead of strlen()
Isset is a native language construct and thus A LOT faster than using strlen()
On my local machine this leads to a 1s performance gain for about 1 million paths. Considering that this function will be called a lot for every file operation this makes a noticable difference.
Diffstat (limited to 'cron.php')
0 files changed, 0 insertions, 0 deletions