|
From: | Rik |
Subject: | [Octave-bug-tracker] [bug #60387] ftp class method 'dir' extremely slow |
Date: | Tue, 13 Apr 2021 19:39:04 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36 |
Follow-up Comment #11, bug #60387 (project octave): I think I see the problem. There is a loop that iterates over each file, and for each file it actually fetches the content (but discards it), and then queries how much data was transferred to figure out the file size. That's absurdly inefficient, if I'm right. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?60387> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |