Re: Performance

Murray Cumming Comneon com wrote:

To: Alexander Larsson
(stuff deleted)
what about storing the mime type in an extended attribute if the file system supports them. If the file system doesn't it will work as always has (doing mime type sniffing) but if there is an EA containing the mime type we would have to go trouht the sniffing process, and thus it would be faster.

That sounds like just a more elegant cache to me, which wouldn't solve the
staleness problem.

Murray Cumming
murrayc usa net
What about if it were an XDG standard? Ultimately you'd think real metadata would be a better solution than either sniffing or file extensions...


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