Hacker News Viewer

Optimizing Ruby Path Methods

by weaksauce on 4/18/2026, 8:42:29 PM

https://byroot.github.io/ruby/performance/2026/04/18/faster-paths.html

Comments

by: vidarh

&gt; More importantly, on CI systems it’s relatively common to check out code using git, and git doesn’t care about mtime<p>git doesn&#x27;t care about mtime, but git maintains trees whose hash changes if any constituent part of the tree changes. It&#x27;d seem tempting to check for a .git and if present use the git tree to determine whether to invalidate the cache.

4/18/2026, 10:12:08 PM


by: nixpulvis

Would this be possible to mainline into ruby in some way?

4/18/2026, 9:58:30 PM


by: blinkbat

don&#x27;t take this the wrong way, but -- people still use ruby?

4/18/2026, 9:58:25 PM