unjs / magic-regexp

A compiled-away, type-safe, readable RegExp alternative

Home Page:https://regexp.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

performance testing

danielroe opened this issue · comments

with the amount of inference we're doing, it would be a great enhancement to add some kind of type performance test to ensure that end users' TS checkers or IDEs don't get slower. With metrics, we also will have a basis for making performance improvements.

I think this may be an issue in IntelliJ already. I imported the library and code completion ceased to work when I wrote my first regex with the library. When I commented it out it went back to normal.

Has this been reported before? If not, I can try to reproduce it outside of work.

I would be glad of a reproduction. 🙏