4 ms·
That's an admirable sentiment, but aren't your hands tied by the promises made by the standard? In particular the addresses of elements are guaranteed to be sta
by gsg 11y ago
That's an admirable sentiment, but aren't your hands tied by the promises made by the standard? In particular the addresses of elements are guaranteed to be stable, which would seem to prevent an implementor from relocating them to achieve more cache-friendly layout.
(Of course, you would want to do as well as possible within the given bounds.)
- StephanTLavavej 11y agoYeah, unordered_meow is always going to be a pretty crummy hash table. But our implementation could be significantly improved while still obeying the Standard.
- gsg 11y agoFair enough! Good luck with your rewrite.