Abreham

Results 11 comments of Abreham

I have opened a PR for this here https://github.com/radix-ui/primitives/pull/2712

Hey Carlos, Can you please let me know what other solution / library you started using? @mccarlosen

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

Since @timdown isn't supporting the repo. If anyone is interested to pair program this issue please comment below.

Hello @timdown ! Thanks for reaching out. If I were to optimize the [findText()](https://github.com/timdown/rangy/blob/master/src/modules/rangy-textrange.js#L1763) function in the TextRange module. Where would you recommend I start?

As I understand it, 1. **When the text is found**: it's performance is good / optimal 2. **When the text isn't found**: keeps looking for the text in the subsequent...