mirror of https://github.com/go-gitea/gitea.git
* markup: microoptimise for many short filenames in directory Move strings.ToLower() after the early-return length check. This is a safe operation in all cases and should slightly improve directory listing performance when a directory contains many thousands of files with short filenames. * markup: expand test cases for IsReadmeFile() |
8 years ago | |
---|---|---|
.. | ||
markup.go | 8 years ago | |
markup_test.go | 8 years ago |