Post #3038240
2026-05-04 18:16 UTC
@scruss@xoxo.zone Well, the options may be hard to remember, but the 'comm' utility was essential for performance. As it turns out, there's no need for 'grep' at all, because 'comm' has already preselected the matches! Now the script runs in approximately 1 second, orders of magnitude faster than before.
Replies (1)
-
@_the_cloud@mastodon.social 2026-05-04 20:20
@scruss@xoxo.zone I think yours is better because it's strictly memory-based and doesn't write any temporary files. Adapting your solution to work on macOS, I can bring execution time down to 0.6 seconds!