-
Notifications
You must be signed in to change notification settings - Fork 2.7k
use pdqselect for median_algorithm selection #3636
Conversation
|
It looks like @expenses signed our Contributor License Agreement. 👍 Many thanks, Parity Technologies CLA Bot |
1 similar comment
|
It looks like @expenses signed our Contributor License Agreement. 👍 Many thanks, Parity Technologies CLA Bot |
|
I ran a simple benchmark comparing getting the median with both |
|
Thanks! Mind if I ice this until #3583 is in, since it contains a much larger change-set on BABE that this might conflict with? |
|
Of course! |
Demi-Marie
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
andresilva
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm. will merge after #3583 (should be soon anyway).
Co-Authored-By: André Silva <[email protected]>
Co-Authored-By: André Silva <[email protected]>
|
Thanks! |
* use pdqselect for median_algorithm selection instead of sorting the whole vec * Make use of pqdselect clearer Co-Authored-By: André Silva <[email protected]> * Make use of pqdselect clearer Co-Authored-By: André Silva <[email protected]>
This would resolve #2926, but
median_algorithmisn't currently used. I haven't written a test yet, but I'd like to if it's important enough.