3 ms·
Perhaps I'm misunderstanding something but... does this mean that when you say, create a text file or PDF on Haiku the application creating that file is respons
by idle_zealot 2y ago
Perhaps I'm misunderstanding something but... does this mean that when you say, create a text file or PDF on Haiku the application creating that file is responsible for copying its icon into the new file's metadata? i.e. if I make a directory full of 1000 text files then I've also created 1000 duplicate images?
- Someone 2y agoI think you’re misunderstanding things. FTA: “If you use the standard bitmap icon formats, you’ll probably store them in their own files, separate from the files that use them.” ⇒ i think they’re talking of having to read the same data again and again, and then try to minimize the number of blocks read from disk. Of course, reading the icons again and again is the MVP implementation, but not necessary. They could create a cache of icons. Even if they don’t, the file system cache would significantly decrease the number of actual disk reads.