diff options
author | Chris Robinson <[email protected]> | 2022-02-13 23:53:00 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2022-02-13 23:53:00 -0800 |
commit | f915b86dbb8a3d75e37a2813df093694aae0dcbb (patch) | |
tree | bd7054eb3bcbb1532a1888620f350fe3d5febe34 /core/helpers.h | |
parent | 98de566bc81427d0a37b574aa931cec33852a28f (diff) |
Use memcmp to compare GUIDs
Clang at least optimizes the old version horribly, doing each individual check
(with short-circuiting) as written. In comparison, this memcmp gets inlined
using only a few SIMD instructions (on capable targets).
Diffstat (limited to 'core/helpers.h')
0 files changed, 0 insertions, 0 deletions