Optimizing Ruby Path Methods
byroot.github.io
Optimizing Ruby Path Methods
1–10 of 66 posts
Re: Optimizing Ruby Path Methods
#2Re: Optimizing Ruby Path Methods
#3Re: Optimizing Ruby Path Methods
#4don't take this the wrong way, but -- people still use ruby?
Generally speaking Ruby has the best APIs.
Re: Optimizing Ruby Path Methods
#5don't take this the wrong way, but -- people still use ruby?
Re: Optimizing Ruby Path Methods
#6git doesn't care about mtime, but git maintains trees whose hash changes if any constituent part of the tree changes. It'd seem tempting to check for a .git and if present use the git tree to determine whether to invalidate the cache.
Re: Optimizing Ruby Path Methods
#7Would this be possible to mainline into ruby in some way?
Re: Optimizing Ruby Path Methods
#8don't take this the wrong way, but -- people still use ruby?
(Yes, I'm taking it a bit far; my prototype Ruby compiler is self-hosting finally, so I guess sometime in the next 20 years I'll end up booting into a Ruby kernel for no good reason...)
Re: Optimizing Ruby Path Methods
#9> More importantly, on CI systems it’s relatively common to check out code using git, and git doesn’t care about mtime git doesn't care about mtime, but git maintains trees whose hash changes if any constituent part of the tree changes. It'd seem tempting to check for a .git and if present use the git tree to determine whether to invalidate the cache.
Re: Optimizing Ruby Path Methods
#10don't take this the wrong way, but -- people still use ruby?
when I touch js, and python... I prefer ONLY AI agentic style of working.