1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-14 13:41:12 +00:00
Files
godot/core/io/dir_access.cpp
Fredia Huya-Kouadio 31712cc9e7 Address slow copy performance when using the FileAccessFilesystemJAndroid implementation.
Read/write ops for this implementation are done through the java layer via jni, and so for good performance, it's key to avoid numerous repeated small read/write ops due the jni overhead.

The alternative is to allocate a (conversatively-sized) large buffer to reduce the number of read/write ops over the jni boundary.
2022-07-21 09:06:29 -07:00

12 KiB