Optimize regular expressions #674
Labels
do not close
Issue which won't close due to inactivity
hacktoberfest
performance
Something could be made faster or more efficient
up-for-grabs
Please feel free to take this one!
This library makes heavy use of regular expressions. While most of them should be fairly performant, there could certainly be some room for improvement to help improve the performance of this library. Examples of improvements might include:
Tools that could help here include:
A partial list of areas where regex is used in this library include:
BlockStartParserInterface::tryStart()
BlockContinueParserInterface::tryContinue()
InlineParserInterface::parse()
InlineParserMatch
builds regular expressions, which are then used byInlineParser
I will accept (almost) any PR that aims to improve performance, though I would ask that you keep the following in mind:
The text was updated successfully, but these errors were encountered: