octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #59711] Performance of `cd` is bad on Windows


From: Rik
Subject: [Octave-bug-tracker] [bug #59711] Performance of `cd` is bad on Windows
Date: Mon, 4 Jan 2021 19:37:11 -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 #15, bug #59711 (project octave):

For an overview of inodes, see https://en.wikipedia.org/wiki/Inode.

Quoting from the article, "The POSIX standard mandates file-system behavior
that is strongly influenced by traditional UNIX file systems. An inode is
denoted by the phrase "file serial number", defined as a per-file system
unique identifier for a file.[9] That file serial number, together with the
device ID of the device containing the file, uniquely identify the file within
the whole system.[10]"

So, yes, it appears that a combination of device and inode is unique.  From a
code perspective, it makes intuitive sense to use the canonical file name as
the key in a map.  But if we have to abandon that because it is slow the only
people slightly inconvenienced will be Octave core programmers.  Octave users
will never see this.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?59711>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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