serverinfo
serverinfo copied to clipboard
Consider replacing while loop in FormatBytes
https://github.com/nextcloud/serverinfo/blob/efeed3479fd048b403c6a72ebf74241a971a065c/templates/settings-admin.php#L28-L36
This doesn't look very efficient and could be replaced with a logarithmic function. Requires check for <= 0.
https://3v4l.org/fG7s2/perf https://3v4l.org/PbVrs/perf
This seems settled and can be closed. :)