Fixing performance regression caused by the fix to https://bugs.openjdk.java.net/browse/JDK-8176706. The fix introduced extra looping through the resource map multiple times which was not necessary. The execution time of the tool now got back on par with close to JDK18.
------------- Commit messages: - 8283324: CLDRConverter run time increased by 3x Changes: https://git.openjdk.java.net/jdk/pull/8288/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=8288&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8283324 Stats: 16 lines in 2 files changed: 10 ins; 0 del; 6 mod Patch: https://git.openjdk.java.net/jdk/pull/8288.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/8288/head:pull/8288 PR: https://git.openjdk.java.net/jdk/pull/8288