Improve performance of SyntaxHighlightFilter
What does this MR do?
This MR improves the performance of Banzai::Filter::SyntaxHighlightFilter
. See e9bacc65 for more information.
Are there points in the code the reviewer needs to double check?
Styling mostly.
Why was this MR needed?
Syntax highlighting is rather slow.
What are the relevant issue numbers?
Does this MR meet the acceptance criteria?
-
CHANGELOG entry added -
Documentation created/updated -
API support added - Tests
-
Added for this feature/bug -
All builds are passing
-
-
Conform by the style guides -
Branch has no merge conflicts with master
(if you do - rebase it please) -
Squashed related commits together