sinatra / mustermann

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

Performance improvement for Mustermann::AST::Translator#escape #141

Closed hsbt closed 2 months ago

hsbt commented 3 months ago

Fix #140

see bench/uri_parser_object.rb.

Before:

h2[URI::RFC2396_Parser] - h1[URI::RFC2396_Parser] is 200

After:

h2[URI::RFC2396_Parser] - h1[URI::RFC2396_Parser] is 0