You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Mario Ivankovits (JIRA)" <ji...@apache.org> on 2006/12/08 16:00:34 UTC

[jira] Updated: (VFS-96) Performance: FtpFileObject.getChildFile() without call to doGetChildren()

     [ http://issues.apache.org/jira/browse/VFS-96?page=all ]

Mario Ivankovits updated VFS-96:
--------------------------------

    Affects Version/s: later

> Performance: FtpFileObject.getChildFile() without call  to doGetChildren()
> --------------------------------------------------------------------------
>
>                 Key: VFS-96
>                 URL: http://issues.apache.org/jira/browse/VFS-96
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: later
>            Reporter: Emmanuel Fleury
>
> The FtpFileObject.getChildFile() implementation gets the full directory lost of the parent to retrieve information on only one of its childs.
> This can be a performance bottleneck if the parent directory contains a lot of files (for instance, listing a directory containing 1000 files costs more than 100Kb).
> A better implementation should be to retrieve only the right child file information.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org