4 ms·
> Bookmarks are fine for app developers, who can make a macOS call which returns the current directory path to any given Bookmark. I'm not fine with it. It's a
by shakna 9y ago
> Bookmarks are fine for app developers, who can make a macOS call which returns the current directory path to any given Bookmark.
I'm not fine with it. It's an extra function call, it's more overhead to find and open a file, and it's much slower than placing a pointer to an inode.
- klodolph 9y agoNot sure what you're suggesting but the comment seems wrong on multiple levels. First, how do you "place a pointer to an inode"? I'm having trouble dissecting that one. You can store an inode number if you like, but actual inode pointers only work at the filesystem level (are you talking about hard links?) Once you’re storing an inode number on disk, you’re basically replacing the well-tested bookmarks system with your own little hack, and the hack won't even work inside a sandbox (which bookmarks explicitly do). These bookmarked files aren’t typically accessed often, usually only in response to user input, so a small performance difference isn't negligible. So it's not rational to complain about performance here. Either your comment makes no sense at all or I don't understand what you're saying.