On Fri, 27 Sep 2024 17:05:25 GMT, Shaojin Wen <s...@openjdk.org> wrote:
> A small optimization to reduce the write operations of trimAndCompress I think there's no significant performance impact with this change, or it's negligible, because the condition is replaced by an assignment. While the condition check would affect every loop cycle, the overhead is minimal compared to the direct assignment. ------------- PR Comment: https://git.openjdk.org/jdk/pull/21227#issuecomment-2380847455