RegExpBuilder icon indicating copy to clipboard operation
RegExpBuilder copied to clipboard

Performance question

Open MostHated opened this issue 2 years ago • 1 comments
trafficstars

Hey there, I realize it has been quite some time since this was updated, but I was wondering if you happened to have done any performance benchmarks in the past on this? Ex: How it compares against having wrote out a compiled regex statement? I realize there would probably be a difference, was just wondering if you remembered, or knew just how much of a difference there might be?

If not, I suppose I could try and do a few tests on it. I am trying to figure out the best route to take with detecting/dissecting certain parts of a string if they match specific patterns, where they are, and keeping track so parts can be modified and put back together while making sure that the end result still maintains a desired structure (ex. if parenthesis were around something, they are put back, if there was a - before words, etc as it is part of an advanced search system).

This piqued my interest as something that might be useful for that.

MostHated avatar Oct 27 '23 19:10 MostHated

I haven't! And to be fair - I think this contains some bugs if you have advanced use cases.

While I ought to archive this repo, I still think this is a nice idea and probably something that could be improved a lot.

abergs avatar Oct 30 '23 09:10 abergs