README.txt 1.4 KB

12345678910111213141516171819202122232425262728
  1. This directory contains files from the parallel-hashmap project by Gregory
  2. Popovitch (https://github.com/greg7mdp/parallel-hashmap).
  3. They are better kept with the viewer sources instead of being donwloaded
  4. separately as a "pre-built library package", especially since they constitute
  5. a header-only library common to all OSes.
  6. Plus, I slightly modified the files to:
  7. - better integrate with the viewer code (with the use of LL_[NO_]INLINE);
  8. - provide a minor speed optimization (PHMAP_NO_MIXING);
  9. - allow the use of sse2neon.h with ARM64 builds, in order to use the optimized
  10. SSE2/SSSE3 code (which then gets automatically translated into their NEON
  11. counterparts);
  12. - explicitely disable the use of boost shared mutexes: we now use the C++11
  13. standard library mutexes, even though we also have boost used for other
  14. purposes in the viewer, which caused phmap to implicitely use boost for
  15. mutexes, sometimes (and not everywhere), due to nested boost headers
  16. inclusions (e.g. via boost/thread.hpp);
  17. - explicitely disable the use of Windows SRWLOCK mutexes: the viewer fails to
  18. compile with them and, anyway, I prefer to use the same type of mutexes
  19. (std::mutex) everywhere in the code...
  20. I also skipped a couple changes that we either do not care about (compatibility
  21. with gcc v4, which cannot compile today's viewer code anyway), or cause issues
  22. (new hashing code, inspired from boost's, but that causes weird rendering
  23. glitches).
  24. HB