On Wed, 8 Mar 2023 19:10:11 GMT, Andrey Turbanov <aturba...@openjdk.org> wrote:
> java.util.Enumeration is a legacy interface from java 1.0. > There is couple of places with cycles which use it to iterate over > collections. We can replace this manual cycle with enchanced-for, which is > shorter and easier to read. I like this idea. Did you have a chance to check if the enhanced-for cycle has a better performance? ------------- PR: https://git.openjdk.org/jdk/pull/12930