Linux 6.8 Landing A Tantalizing Optimization For Common $PATH-Based Searches
phoronix.com
phoronix.com
Bash caches path lookups and has a command to clear them (i forget its name and am on a tablet, so can't readily check... Maybe "hash" or "rehash"?).
[1] https://lore.kernel.org/lkml/CAHk-=wj1vvUhNd_+s8Cuvh-wO2iT7b...