forked from gitea/gitea
1
0
Fork 0
gitea/modules/emoji
zeripath 5ff807acde
Run processors on whole of text (#16155) (#16185)
Backport #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 20:01:33 +02:00
..
emoji.go Run processors on whole of text (#16155) (#16185) 2021-06-17 20:01:33 +02:00
emoji_data.go Update emoji dataset with skin tone variants (#11678) 2020-06-02 02:22:40 -04:00
emoji_test.go Fix several render issues (#14986) 2021-03-16 00:20:05 +01:00