|
From: | Rik |
Subject: | [Octave-bug-tracker] [bug #59706] Avoid "canonicalize_file_name" on Windows |
Date: | Mon, 21 Dec 2020 13:31:46 -0500 (EST) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.66 Safari/537.36 |
Follow-up Comment #19, bug #59706 (project octave): It will be interesting to see how much this helps. Given that canonicalize_file_name was probably calling the library function stat() internally to check on the existence of the file name, the octave::stat function inadvertently was calling the stat() library function twice. I would hope we get at least a 2X speedup, and maybe more if we don't call the regexp parser as frequently either. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?59706> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |