pburrows / rangy-updated

A clone of timdown/rangy that accepts additional contributors and pull requests.
MIT License
39 stars 5 forks source link

TextRange's findText() method is very slow #7

Open abrehamgezahegn opened 2 years ago

abrehamgezahegn commented 2 years ago

I have found that findText() performs well if the text is found and takes 10x+ more time if the text isn't found.

abrehamgezahegn commented 2 years ago

If anyone is interested to pair program this issue please comment below.