After four months in the making, tinyglobby 0.2.11 is out! This release adds important optimizations to avoid crawling extra directories, which should greatly improve performance in almost all cases! Here's how we did it 🧵 github.com/SuperchupuDe...
Post
First, i'd like to mention that I've opened a GitHub Sponsors page for anyone that wants to support my journey into optimizing and debloating libraries. I'd be forever grateful if anyone sponsors: github.com/sponsors/Sup...
However it turned out that pattern modification could break some odd (yet valid!) patterns! After three months of research without much progress, I discovered that the functionality we wanted wasn't unheard of. It turned out minimatch already had it! But we didn't use that to stay with fewer deps
0 reposts5 likes
This last implementation is not just more performant, but it's also way more predictable. In tests, the library performed way more consistent!! This couldn't have been done without the help and advice of @e18e.dev members and many others. I'm so grateful that so many people care about performance ❤️