This change removes RegEx-based trimming to improve performance.
There may be other places where performance could be improved.
After this change, the query mentioned in #977 gets formatted in under 1s.
Describe here what is this PR about and what we are achieving merging this.
Thank you for your contribution!
Before submitting this PR, please make sure:
[x] Your code builds clean without any errors or warnings
[x] You have made the needed changes to the docs
[x] You have written a description of what is the purpose of this pull request above
Related to #977
This change removes RegEx-based trimming to improve performance. There may be other places where performance could be improved. After this change, the query mentioned in #977 gets formatted in under 1s.
Describe here what is this PR about and what we are achieving merging this.
Thank you for your contribution! Before submitting this PR, please make sure: