DavidSeptimus opened a new pull request #65: VFS-619 Fixes performance issue 
with SftpFileObject.getChildren()
URL: https://github.com/apache/commons-vfs/pull/65
 
 
   This PR removes an unnecessary invocation of `SftpObject.getType()` by 
`refresh()`. 
   
   This invocation causes performance degradation of 
`SftpFileObject.getChildren()` when `CacheStrategy.ON_RESOLVE` is in use as 
this forces a call to `refresh()`, which in turn calls `getType()`, making an 
additional `stat()` call to the SFTP server for each child.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to