Using FindFirstFileA() instead of CreateFileA() to get the file size

Since we already call FindFirstFileA() and it returns the size there is
no need to open/close every file to get it's size
This commit is contained in:
2026-03-10 19:54:52 +01:00
parent 1fa306643f
commit aef070192f
5 changed files with 81 additions and 26 deletions

View File

@@ -33,3 +33,5 @@ Making the LF MPMC queue generic and in a seperate header file
Making the MPMC queue platform agnostic
Align the MPMC queue to pagesize
Getting file size from FindFirstFileA() instead of CreateFileA(), since we already call FindFirstFileA() and it returns the size there is no need to open/close every file to get it's size