eden-miror/src/common/fs
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
..
file.cpp [*] basic in-house cpp linting (#4039) 2026-06-04 05:49:07 +02:00
file.h [common] rework BitField and BitUtil, use concepts whenever possible (#4076) 2026-07-09 03:47:04 +02:00
fs.cpp [fs] use recursive_directory_iterator since MSVC CRT no longer should bug out (#3670) 2026-07-07 20:26:10 +02:00
fs.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
fs_android.cpp common: fs: Expand android macros 2024-02-08 14:13:46 -05:00
fs_android.h common: fs: Expand android macros 2024-02-08 14:13:46 -05:00
fs_paths.h [vulkan, android] Initial implementation of LSFG-VK (#4263) 2026-08-17 00:30:19 +02:00
fs_types.h [desktop] fix save data location, orphaned profiles finder (#2678) 2025-10-07 01:32:09 +02:00
fs_util.cpp [common] remove ranges polyfill (#2546) 2025-09-24 19:29:48 +02:00
fs_util.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
path_util.cpp [common] Switch to boost::unordered_flat containers (#4326) 2026-08-31 02:58:09 +02:00
path_util.h [vulkan, android] Initial implementation of LSFG-VK (#4263) 2026-08-17 00:30:19 +02:00
ryujinx_compat.cpp [desktop, fs] main_window separation; fix Ryujinx save data link issues (#2929) 2025-11-09 18:07:38 +01:00
ryujinx_compat.h [desktop, fs] main_window separation; fix Ryujinx save data link issues (#2929) 2025-11-09 18:07:38 +01:00
symlink.cpp [desktop, fs] main_window separation; fix Ryujinx save data link issues (#2929) 2025-11-09 18:07:38 +01:00
symlink.h [desktop, fs] main_window separation; fix Ryujinx save data link issues (#2929) 2025-11-09 18:07:38 +01:00