summaryrefslogtreecommitdiff
path: root/core/io/file_access.cpp
diff options
context:
space:
mode:
authorFredia Huya-Kouadio <fhuya@fb.com>2022-07-20 08:10:07 -0400
committerFredia Huya-Kouadio <fhuyakou@gmail.com>2022-07-21 09:06:29 -0700
commit31712cc9e705e49e217fca98adae40e9bbda9846 (patch)
treedbcef73dc033e7e7185424d361748d3db480a978 /core/io/file_access.cpp
parent8d15814e6a211646a04478978224fd1af41a75cc (diff)
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.
Diffstat (limited to 'core/io/file_access.cpp')
0 files changed, 0 insertions, 0 deletions