4 ms·
wondering if scanning throu >10M history entries, looking for duplicates, will introduce a noticeable ex degradation on lesser systems (rpi etc).
by geraldhh 3y ago
wondering if scanning throu >10M history entries, looking for duplicates, will introduce a noticeable ex degradation on lesser systems (rpi etc).
- znpy 3y agoThe file might fit without much problems in the filesystem cache, so i guess it would only be a problem in the first time. I had a friend in university that used a refurbished hp workstation with a shitload of ram as a desktop computer, and he would find | xargs -L1 cat {} > /dev/null everything in his home directory on login to warm up the filesystem cache. The kernel would then drop stuff not actually needed/accessed nicely over time.
- iforgotpassword 3y agoDon't know about erasedups, but the other option just applies to consecutive repeats, so really only had to scan from the end until the first non-dup
- deleted 3y ago[deleted]