You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The std::unordered_set does not support a lambda implementation of find(). This means the template type must be created to get a key comparison. In the key cache case the type is a shared_ptr which is a relatively expensive object. It is much preferred to compare the field count and the hash without the expense of creating a smart pointer instance.
The text was updated successfully, but these errors were encountered:
There is also the nasty side effect that new must be invoked to create the key item in order to do the lookup - mitigated with an ugly shared_ptr null deleter.
The std::unordered_set does not support a lambda implementation of find(). This means the template type must be created to get a key comparison. In the key cache case the type is a shared_ptr which is a relatively expensive object. It is much preferred to compare the field count and the hash without the expense of creating a smart pointer instance.
The text was updated successfully, but these errors were encountered: