highway
highway copied to clipboard
Add VQSelect
The monotonous work is done and the new test suite works for std::nth_element
, but fails for VQSelect()
- it's skipping an entire partition. I don't see the cause so far though. There are a few other TODOs within the code as well.
Direct edits and comments both welcome.
@zbjornson would you like to make the minor change suggested? Otherwise I'm happy to do it after we merge.
@jan-wassenberg sorry for going MIA. I keep hoping to find time to make the change, but haven't. Please go ahead with making the change if you don't mind (I have the PR set so that you can push to this branch also).
I understand, we'll take care of it after merging. Thanks for implementing this :)
Sorry to drop the ball on this :/ The merge had failed because a rebase was required, but I missed the notification. @zbjornson , any chance you could help update this PR? This would help @enum-class implement TopK in #2019 :)
I have learned how to patch copybara changes to fix the compile error we were seeing (inserting the missing hwy::). Hopefully import will happen soon :)
FYI the patch worked but we have an issue with MSVC which I am addressing in #2022 .
This is now merged in #2024 with attribution. Thanks @zbjornson for implementing it :)