Add an optimization idea.

Tom Alexander 7 months ago
parent 22681b6a58
commit ee5e0698b1
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

@ -25,3 +25,4 @@ This could significantly reduce our calls to exit matchers.
I think targets would break this.
The exit matchers are already implicitly building this behavior since they should all exit very early when the starting character is wrong. Putting this logic in a centralized place, far away from where those characters are actually going to be used, is unfortunate for readability.
** Use exit matcher to cut off trailing whitespace instead of re-matching in plain lists.