4 ms·
I'm curious as to how you'd update the icon for a file type. Would you have to update the inode of every single file of that type? That can't be too efficient.
by ldjb 10y ago
I'm curious as to how you'd update the icon for a file type. Would you have to update the inode of every single file of that type? That can't be too efficient.
I'm sure there are ways of getting around the problem, but having lots of duplicate data (even if each icon is very small) isn't generally a good idea (but perhaps this is an exception).
- rcthompson 10y agoYeah, I'm a bit confused about what this is for. Any icons common to an entire file type should be cached in RAM already, so I the only thing I can think of would be file-specific icons. But I expect most of those would be thumbnail images, which would not be amenable to a concise vector representation.