• Nathan Bronson's avatar
    heterogeneous lookup for F14 map fallback · ce0007aa
    Nathan Bronson authored
    Summary:
    This diff implements efficient heterogeneous lookup, insert,
    and erase for the fallback (non-SIMD) mode of F14.  It relies on internal
    implementation details of the underlying std::unordered_map implementation
    that happen to be true for libstdc++, libc++, and MSVC.
    
    Extending this technique to F14 sets would be straightforward, but has
    not been done here.
    
    (Note: this ignores all push blocking failures!)
    
    Differential Revision: D21408628
    
    fbshipit-source-id: 72e9ddd82a50c02ec762d4b64dc3303848bd0218
    ce0007aa
F14IntrinsicsAvailability.h 2.44 KB