Opened 15 years ago
Closed 14 years ago
#3 closed enhancement (fixed)
Add caching of stat results
Reported by: | schwa | Owned by: | schwa |
---|---|---|---|
Priority: | major | Milestone: | 2.2 |
Component: | Library | Version: | 2.0.1 |
Keywords: | stat, cache, caching | Cc: |
Description
When dealing with many small files on the remote host, ftputil becomes rather slow because it fetches the directory listing every time it wants to stat a file/directory/link. This doesn't matter so much for larger files because then the "net data" transfer time is much greater than the time for getting the stat data. These timing issues are reversed for the case of many small files.
Change History (5)
comment:1 Changed 15 years ago by
Status: | new → assigned |
---|
comment:2 Changed 15 years ago by
Version: | 2.0.3 |
---|
comment:3 Changed 15 years ago by
Milestone: | 2.1 → 2.2 |
---|
comment:4 Changed 15 years ago by
Priority: | minor → major |
---|
comment:5 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
The corresponding code seems to be stable and has been moved from the branch into the trunk. Caching thus is part of ftputil 2.2b and later.