4 ms·
Its deliberate to dissuade you from keeping anything on your device. Upload it to the cloud and let google, apple, microsoft, and the government search it for
by Am4TIfIsER0ppos 4y ago
Its deliberate to dissuade you from keeping anything on your device. Upload it to the cloud and let google, apple, microsoft, and the government search it for you.
However yes i/o is time consuming and you can see that when programs update their indexes.
- yonz 4y agoBut the index update wouldn't be in the critical path (when a user searches). Unless the index size requirements are so large you can't do it on machine (doubt it)
- Am4TIfIsER0ppos 4y agoNo, an index wouldn't be updated the moment you want to use it. I notice when locate and man perform their updates because my computer is busy while they do. Granted I think it is low priority but I still see the result in btop (or any other system monitor program). find isn't quick unless I repeat the same search and the directories are cached. I am not complaining about spending time on i/o and processing to make an index. I merely stated that it does take time. I didn't think Windows' one was worth it when I last used Windows so I would always disable it but I haven't done likewise on linux.
- Sesse__ 4y agoFWIW, man-db index updates got a lot faster in the latest versions (roughly 40x).