0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-16 22:14:39 +01:00
gitea/modules/emoji
zeripath 0db1048c3a
Run processors on whole of text (#16155)
There is an inefficiency in the design of our processors which means that Emoji
and other processors run in order n^2 time.

This PR forces the processors to process the entirety of text node before passing
back up. The fundamental inefficiency remains but it should be significantly
ameliorated.

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-06-17 11:35:05 +01:00
..
emoji_data.go
emoji_test.go
emoji.go Run processors on whole of text (#16155) 2021-06-17 11:35:05 +01:00