server/lib
Roeland Jago Douma d5bf2c4523
Move normalizePath to regexes instead of looping
This is IMO a bit more readable and it seems to make the code faster.
Tested it on the company instance where there are over 3k calls to this
function. It shaves off around 10ms.

The advantage here is that the pattern gets optimized by php itsel and
cached.
Also looking for all patterns at the same time and especially no longer
looping for /./ patterns should save time.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-10 13:23:59 +02:00
..
composer Rename admin security section 2018-10-08 10:31:51 +02:00
l10n [tx-robot] updated from transifex 2018-10-10 00:13:11 +00:00
private Move normalizePath to regexes instead of looping 2018-10-10 13:23:59 +02:00
public Merge pull request #11622 from nextcloud/feature/11617 2018-10-09 20:50:37 +02:00
autoloader.php move log constants to ILogger 2018-04-26 10:45:52 +02:00
base.php Revert "Use APCu caching of composer" 2018-09-19 15:47:01 +02:00
versioncheck.php Raise PHP version number to PHP 7.0 2018-01-12 14:26:10 +01:00