Use binary search over threads
Summary: Switches a thread search from linear-time std::find to logarithmic-time std::binary_search. Extracts the comparison into a separate function in ThreadList class. Reviewed By: yfeldblum Differential Revision: D28301992 fbshipit-source-id: 199728d82ca7d7fe8534f7163c76a6473b6f7c4b
Showing
Please register or sign in to comment