"...git@gitlab.flux.utah.edu:xcap/xcap-capability-linux.git" did not exist on "b360a884834a83ede845733cf344a29eb10dd2e3"
-
Bruno Randolf authored
Using bitshifts instead of division and multiplication should improve performance. That requires weight and factor to be powers of two, but i think this is something we can live with. Thanks to Peter Zijlstra for the improved formula! Signed-off-by:
Bruno Randolf <br1@einfach.org> -- v2: use log2.h functions Signed-off-by:
John W. Linville <linville@tuxdriver.com>
Bruno Randolf authoredUsing bitshifts instead of division and multiplication should improve performance. That requires weight and factor to be powers of two, but i think this is something we can live with. Thanks to Peter Zijlstra for the improved formula! Signed-off-by:
Bruno Randolf <br1@einfach.org> -- v2: use log2.h functions Signed-off-by:
John W. Linville <linville@tuxdriver.com>