kubernetes/plugin
Oleg Shaldybin 3a36dfb306 Minor selectHost optimization in scheduler
Instead of sorting hosts by score, find max score and choose one of
the hosts with max score directly. Saves a little time on sorting and
avoids extra copying of HostPriorityList entries.

Test had to be updated as one of the test cases relied on having a
stable order from pre-sorting.
2016-02-08 12:37:37 -05:00
..
cmd/kube-scheduler this is a manual reversion of #20702 2016-02-05 16:34:02 -08:00
pkg Minor selectHost optimization in scheduler 2016-02-08 12:37:37 -05:00