Github user koraktor commented on the issue:

    https://github.com/apache/tomcat/pull/108
  
    I added another bunch of patches. One of them implementing a different 
approach to a cached version representation based on @ChristopherSchultz’s 
suggestion. Instead of creating zero-padded strings I had the idea of using the 
version components as UTF-16 code points and building a string from those.
    
    I did not yet test all edge cases. So this might not be fail-safe.
    I’m still using regular expressions as the overhead of implementing a 
tokenizer seemed a bit much given the one-time nature of the new approach.
    
    I did not include code for non-numeric version components (especially 
suffixes, e.g. `1.2.3-SNAPSHOT` or `1.2.3.pre5`.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to