News for hackers. Stuff that matters.
Re:Mcfly – neural-network powered directory and context-awar... by oefrha on Wednesday July 08, 2020 @10:31AM (#23770233)
If every module you load does their own 30ms check, it might cut 60ms to 30ms at each call site but they add up just the same.
Re:Mcfly – neural-network powered directory and context-awar... by rovr138 on Thursday July 09, 2020 @01:42AM (#23777265)
Of course.

I’m saying they print what you should add. I’m not saying have an init command that you run on your shell script on startup. I’m saying have an init command that tell you what to put.

I think the hardcoded approach by smichel17 with a fallback is a good one. Except that if you ran this command, it might print a different hardcoded path based on where it found the prefix to be at.