Date Added / Date Last Opened
Posted: Tue Nov 08, 2016 8:01 am
Hi, folks,
Few times I was asked to add an option to show "date added" column, and finally spent a several days on these attributes, while working on a flexible list presentation anyway.
However, I didn't find any reasonably performant way to gather these attributes, only thru talking to Spotlight services.
And this stuff is painfully slow - simply skyrocketing listings loading times by order of magnitude!
For example, my ~ dir listing is gathered in 0.5ms by default and fetching these two attributes raises this time to ~4ms.
So here's a question - how often do you use these attributes (or perhaps want to use)?
I mean to show this info in a column or to sort item by them.
Currently I think to add the functionality, but keep it turned off by default.
With regards,
Mike.
Few times I was asked to add an option to show "date added" column, and finally spent a several days on these attributes, while working on a flexible list presentation anyway.
However, I didn't find any reasonably performant way to gather these attributes, only thru talking to Spotlight services.
And this stuff is painfully slow - simply skyrocketing listings loading times by order of magnitude!
For example, my ~ dir listing is gathered in 0.5ms by default and fetching these two attributes raises this time to ~4ms.
So here's a question - how often do you use these attributes (or perhaps want to use)?
I mean to show this info in a column or to sort item by them.
Currently I think to add the functionality, but keep it turned off by default.
With regards,
Mike.