about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorokaneco <47607823+okaneco@users.noreply.github.com>2023-11-08 14:44:13 -0500
committerokaneco <47607823+okaneco@users.noreply.github.com>2023-11-08 14:53:49 -0500
commitd585eecb053b79ad2ef7034b8283bb684a3dfe5b (patch)
tree12027d091ca564d6f47b23c0da7ac201a08a4d46 /compiler/rustc_codegen_gcc
parent341efb10174bdd22912aae487917c9213255b20f (diff)
downloadrust-d585eecb053b79ad2ef7034b8283bb684a3dfe5b.tar.gz
rust-d585eecb053b79ad2ef7034b8283bb684a3dfe5b.zip
Refactor `binary_search_by` to use conditional moves
Refactor the if/else checking on cmp::Ordering variants to a
"branchless" reassignment of left and right. This change results
in fewer branches and instructions.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions