-
Notifications
You must be signed in to change notification settings - Fork 1
[BALDE-10] Implement big file reader for Windows. #67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
| ${CMAKE_CURRENT_SOURCE_DIR}/src/core/platform/opengl/buffers/opengl_vertex_array.cpp | ||
| ${CMAKE_CURRENT_SOURCE_DIR}/src/core/platform/opengl/shaders/opengl_shader.cpp | ||
| ${CMAKE_CURRENT_SOURCE_DIR}/src/core/utils/file_manager.cpp | ||
| src/core/utils/file_manager/file_manager.cpp |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add ${CMAKE_CURRENT_SOURCE_DIR}/
| CORE_LOG_INFO("[FILE_MANAGER] Error: Windows implementation is not done yet! Using slower reading method!"); | ||
| ReadSmallFile(filePath); | ||
| // CORE_LOG_INFO("[FILE_MANAGER] Error: Windows implementation is not done yet! Using slower reading method!"); | ||
| // ReadSmallFile(filePath); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove comments
| std::streampos begin,end; | ||
| std::ifstream file(filePath, std::ios::in); | ||
| char* buffer; | ||
| if(file.is_open()){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you do some research on the performance of this code?
| @@ -19,7 +19,7 @@ namespace Bald::Utils { | |||
| * ENUM which determines size of file and therefor methods, which will be used to read it | |||
| */ | |||
| enum class Size : char { | |||
| SMALL_FILE, BIG_FILE | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to have fixed convention for enum naming
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes
No description provided.