Re: [PR] Avoid performance issues that may arise when the array is large. [tomcat]

2024-02-28 Thread via GitHub
rmaucher closed pull request #702: Avoid performance issues that may arise when the array is large. URL: https://github.com/apache/tomcat/pull/702 -- 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

Re: [PR] Avoid performance issues that may arise when the array is large. [tomcat]

2024-02-28 Thread via GitHub
rmaucher commented on PR #702: URL: https://github.com/apache/tomcat/pull/702#issuecomment-1969224578 I added some optimizations, still based on the array. If you investigate something, then fully using a LinkedHashSet would likely be better than HashSet + array. Please provide actual

Re: [PR] Avoid performance issues that may arise when the array is large. [tomcat]

2024-02-28 Thread via GitHub
rmaucher commented on PR #702: URL: https://github.com/apache/tomcat/pull/702#issuecomment-1968755182 I think FilterDef getAsyncSupported can be optimized. But I'm not super convinced by the rest. Where is the inflection point ? -- This is an automated message from the Apache Git