WindowsFileOperations: use JNI methods #2238
Labels
P3
We're not considering working on this, but happy to review a PR. (No assignee)
platform: windows
type: feature request
Milestone
According to my benchmark, JNI methods are faster than their Java native counterparts. I measured
WindowsFileOperations.nativeIsJunction
vs. the implementation inWindowsFileSystem.isJunction
, and it's consistently faster.(Measured everything twice to reveal any caching.)
Same is true for
nativeGetLongPath
(not yet committed), plus in that case the java native implementation is buggy.The text was updated successfully, but these errors were encountered: