Opened 16 years ago

Closed 15 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:


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 16 years ago by schwa

Status: newassigned

comment:2 Changed 16 years ago by schwa

Version: 2.0.3

comment:3 Changed 16 years ago by schwa

Milestone: 2.12.2

comment:4 Changed 15 years ago by schwa

Priority: minormajor

comment:5 Changed 15 years ago by schwa

Resolution: fixed
Status: assignedclosed

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.

Note: See TracTickets for help on using tickets.