]> source.dussan.org Git - nextcloud-server.git/commit
Performance improvements for NaturalSort
authorRobin McCorkell <rmccorkell@karoshi.org.uk>
Tue, 20 Jan 2015 12:40:18 +0000 (12:40 +0000)
committerRobin McCorkell <rmccorkell@karoshi.org.uk>
Mon, 9 Feb 2015 16:32:43 +0000 (16:32 +0000)
commit44c330aa5d392e91d4261c6f2e142932a2a26884
treec0df4e7d14985901be4caf53b99d24bb54f8af48
parent5d8f1a1de3f542a94501c45c500fde2f5fa997c4
Performance improvements for NaturalSort

A combination of using isset() instead of count() or strlen(), caching the
chunkify function, and replacing is_numeric() with some comparisons
lib/private/naturalsort.php