On Mon, 3 Apr 2023 17:16:26 GMT, Andrey Turbanov <aturba...@openjdk.org> wrote:
> `LinkedHashMap<IndexNode, IndexNode>` `ZipFileSystem.inodes` contains only > non-null values. It means instead of separate `containsKey`+`get` calls, we > can use single `LinkedHashMap.get` call and then compare result with `null`. > Result code is a bit simpler and faster. > > Testing: Linux x64 `java/nio`, `jdk/nio` Marked as reviewed by lancea (Reviewer). ------------- PR Review: https://git.openjdk.org/jdk/pull/13304#pullrequestreview-1376064521