diff options
author | zeripath <art27@cantab.net> | 2021-08-23 22:23:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-23 22:23:39 +0100 |
commit | f31e7a67cfc9662af2ae2dab3f4687457545f60c (patch) | |
tree | 532a5e37ba751e710e1ee6ce271e2ac49026c6e7 /vendor/golang.org | |
parent | 73defbbd1c070930563f17daa9e540c44a127928 (diff) | |
download | gitea-f31e7a67cfc9662af2ae2dab3f4687457545f60c.tar.gz gitea-f31e7a67cfc9662af2ae2dab3f4687457545f60c.zip |
Just use a slice when rendering file (#16774)
Highlight currently uses a map which is memory inefficient. Switch to use a slice instead.
Signed-off-by: Andrew Thornton <art27@cantab.net>
Diffstat (limited to 'vendor/golang.org')
0 files changed, 0 insertions, 0 deletions