[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #57439] handles to private functions may fail

From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #57439] handles to private functions may fail after "clear functions"
Date: Mon, 16 Mar 2020 08:31:35 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:75.0) Gecko/20100101 Firefox/75.0

Follow-up Comment #50, bug #57439 (project octave):

Using "stat" to determine if a file exists is about 30 times slower than using
"GetFileAttributesW" on Windows. That is 3000%!

I used the attached .oct file functions for the test. Running "file_exists"
which loops 1e6 times took 5.4038 seconds. "file_stat_exists" which loops 1e4
times took 1.54844 seconds.

Even if this won't be the real fix. There is definitely room for performance

(file #48605, file #48606)

Additional Item Attachment:

File name: file_exists.cc                 Size:1 KB

File name: file_stat_exists.cc            Size:1 KB


Reply to this item at:


  Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]