eden-nx2-old/src/tests/common
Repository files (latest commit first)
Filename Latest commit message Latest commit date
crueter 7fda6dde73
[common] Switch to boost::unordered_flat containers (#4326)
Replaces all instances of ankerl's unordered map/set with boost's
`unordered_flat_*` classes. This uses std::hash since boost::hash is
actually a lot slower.

Also adds an abstraction layer in `Common` so future changes are quicker
and easier.

Other implementation details:
- ankerl provided hash specializations for tuple and pair, so those were
  ported here
- std::erase_if doesn't work on boost, so just used the ADL'd erase_if

This should be about equal or superior performance as unordered_dense for everything except iteration.

Signed-off-by: crueter <crueter@eden-emu.dev>

- [x] I have read and followed the [Contribution Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/CONTRIBUTING.md#code-contributions).
- [x] I have read and followed the [AI Policy](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/AI.md)
- [x] I have read and followed the [Coding Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/Coding.md) to the best of my ability.

-------------------

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4326
Reviewed-by: Lizzie and Samuel <lizzie@eden-emu.dev>
Reviewed-by: MaranBr <maranbr@eden-emu.dev>
2026-08-31 02:58:09 +02:00
..
bit_field.cpp [cmake] allow static MinGW/macOS builds; fix clangarm64 (#2994) 2025-11-11 06:22:33 +01:00
cityhash.cpp tests: update catch2 to 3.0.1 2023-01-05 04:58:31 +01:00
container_hash.cpp tests: mark integer literals as unsigned 2023-03-26 15:39:07 -04:00
fibers.cpp [common] Switch to boost::unordered_flat containers (#4326) 2026-08-31 02:58:09 +02:00
host_memory.cpp [tests] Require backing base pointer to be nonnull for HostMemory tests (#4138) 2026-06-28 08:01:41 +02:00
param_package.cpp [common/logging] Simplify logging logic and fix issues when logging before system is created (#3688) 2026-03-12 18:29:15 +01:00
range_map.cpp Fixes 'Continous' typo 2023-03-29 19:26:12 -07:00
ring_buffer.cpp msvc: set warning level to /W4 globally 2023-09-03 18:42:10 +04:00
scratch_buffer.cpp general: fix spelling mistakes 2023-03-12 11:33:01 -04:00
undefined_fix.cpp [tests] fix compile+linking issues with PlayTime (#3345) 2026-01-19 16:27:18 +01:00
unique_function.cpp general: fix build failure on clang 17 2023-10-17 22:44:21 -04:00