On Tue, 4 Oct 2022 18:31:01 GMT, Alexey Ivanov <aiva...@openjdk.org> wrote:
>> That was my initial thought too. But, as the loopCount won't be really large >> (Eg. it is 15 for 300% scaling) and it wouldn't affect the performance >> drastically, I have retained the original approach to draw the bulk of the >> border. > > Let us leave it as is at this time. There are enough changes. > > At the same time, it's a good suggestion for optimization. We should consider > it in a separate CR. I agree, this code can be improved further using fillRect(). ------------- PR: https://git.openjdk.org/jdk/pull/10274