mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-11 05:00:21 +02:00
`GetEmulatedPath` and `OpenAt` are called a /lot/ in applications. std::filesystem::path handling here is quite heavy and costly for what we are trying to achieve. Remove this usage and instead use lstat, access, and readlink directly which is a heck of a lot faster. In particular this helps out pressure-vessel, shaving off launch times by 1-2 seconds. Going from ~22 seconds down to ~20 seconds.