1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-27 01:54:34 +00:00
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
..
2021-05-10 16:38:37 -04:00
2020-04-05 07:20:50 +01:00
2020-10-02 23:37:53 -04:00
2018-11-04 22:20:00 -05:00
2021-02-03 22:36:38 +01:00
2021-04-20 12:01:58 -04:00
2020-04-05 07:20:50 +01:00
2021-01-26 16:36:53 +01:00