RFR: 8322735: C2: minor improvements of bubble sort used in SuperWord::packset_sort [v2]
Emanuel Peter
epeter at openjdk.org
Mon Jan 8 09:24:23 UTC 2024
On Fri, 5 Jan 2024 08:57:33 GMT, Denghui Dong <ddong at openjdk.org> wrote:
>> A minor improvement could be made for bubble sort in SuperWord::packset_sort to reduce the comparison count in bad cases.
>>
>> See https://en.wikipedia.org/wiki/Bubble_sort
>
> Denghui Dong has updated the pull request incrementally with one additional commit since the last revision:
>
> update
Yes, I think that would be preferrable, even though this is not a very complicated fix.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17190#issuecomment-1880633452
More information about the hotspot-compiler-dev
mailing list