markt-asf commented on PR #666: URL: https://github.com/apache/tomcat/pull/666#issuecomment-1727979952
The test is not a fair test since the Enum approach doesn't include the cost of the switch. If that is included, the original optimisation is better. I will be applying a version of the original patch provided via [BZ 67080](https://bz.apache.org/bugzilla/show_bug.cgi?id=67080). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org