Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Luckily for us, we don't need to actually understand this C++ code to use AVX 512 for faster sorting. We can just do

    Arrays.sort(arr)
in Java!


But then people say it's too verbose. Maybe it needs to be:

A.s(arr)


arr.sort() or sort(arr) seem reasonable to me


You can static import Arrays.sort, so the second option could work.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: