mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2025-12-19 15:58:39 +00:00
ASF is AnyCPU binary which means it'll run fine on both 32-bit as well as 64-bit OSes. Up to today 32-bit runtime was preferred for ASF, as it uses less memory and can be faster than 64-bit equivalent. However, in very busy environments it's easily possible for ASF to require even more than 2 GB of memory, and in addition to that extending our userspace to 64-bit can bring benefits on more modern setups. Therefore, keep being compatible on both 32-bit and 64-bit OSes, but on 64-bit ones use actual 64-bit runtime instead of preferred 32-bit one. In addition to that, optimize some unused references and other things while we're at it.