Use std::less<> for Labels to enable heterogeneous lookup on C++14+#750
Use std::less<> for Labels to enable heterogeneous lookup on C++14+#750aeroyorch wants to merge 1 commit into
std::less<> for Labels to enable heterogeneous lookup on C++14+#750Conversation
859b829 to
5947bd0
Compare
|
Hello, do you have a benchmark that shows improvements with this change? I'm a little bit hesitant to make the public ABI dependent on But most of the comparisons happen with Thanks, |
Ok, I'll try to put together a benchmark next week. I don't expect a big improvement inside the library itself, but it could help users who use the |
5947bd0 to
d207beb
Compare
|
Added a benchmark (
So roughly 1.1 to 1.4x faster for short keys, and about 2x for keys past the SSO size, where the temporary No win inside the library then, but a real one for users looking up |
d207beb to
7729398
Compare
No description provided.