sinatra / mustermann

your personal string matching expert
http://sinatrarb.com/mustermann/
MIT License
664 stars 63 forks source link

3.0.2 version really slow on Sinatra startup #144

Closed specht closed 2 months ago

specht commented 2 months ago

I just found that using the 3.0.2 version of mustermann leads to startup times of several seconds in my Sinatra app which has ~330 routes that get parsed by mustermann on startup. Keeping mustermann at version 3.0.0 gets me quick startup again. I guess it may have to do with the parser switch.

Ruby: 3.3.5 sinatra: 3.2.0

specht commented 2 months ago

Nevermind, I just found that it's been fixed in version 3.0.3, I'm closing the issue.