Open LukeDefeo opened 10 months ago
Hey, thanks for checking out the library. I don't have any comparison benchmarks, but I could potentially look into the ones you linked and adapt them.
It's going to be a busy month for me, so I would welcome any assistance. Otherwise, I should have time to look into this in September.
With any tool like this there is a runtime cost, but if it's any indicator of performance, I've written an eslint plug-in using match-iz to help with AST parsing, and another library "viddy" uses it heavily.
There's a big difference in performance demand between these two though.
Hello nice library, i think i prefer the aesthetics to ts-pattern. I noticed that ts-pattern was benchmarked to have a pretty huge overhead, between 10x to 1000x. https://github.com/gvergnaud/ts-pattern/discussions/173
Have you don't any benchmarks on match-iz for a comparison?
Thanks for the library