ImageEngine / cortex

Libraries for visual effects software development
Other
528 stars 123 forks source link

MurmurHash : Add std::hash specialization, for use in std::unordered_map #1393

Closed danieldresser-ie closed 10 months ago

danieldresser-ie commented 10 months ago

John requested I add this, when I needed to hack around it for a Gaffer PR. That Gaffer PR is now using an LRUCache instead of an std::unordered_map, so it wasn't needed there, but I might as well still add this.

johnhaddon commented 10 months ago

Thanks Daniel - this is good timing as I currently have a use case for this in my Dispatcher work.