Hacker News new | past | comments | ask | show | jobs | submit login

how comes that F14BasicMap (the base class of F14FastMap F14ValueMap and all the others) is extending std::unordered_map ? https://github.com/facebook/folly/blob/master/folly/containe...

they seem to be calling the table_ member for every method in the book. Still weird by they are deriving from std::unordered_map in the first place.

F14Table<Policy> table_;

the implementation class F14Table - https://github.com/facebook/folly/blob/master/folly/containe...




That's a fallback implementation for platforms without SIMD. The real code is lower down.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: