4 ms·
I wasn't running your specific benchmark test. I've been running some more controlled tests now that show it basically being on-par with listdir() which I still
by AdamJacobMuller 10y ago
I wasn't running your specific benchmark test. I've been running some more controlled tests now that show it basically being on-par with listdir() which I still consider completely oddball.
Also, not remotely hating on what you did here. I actually wrote/tested a very similar concept in python several years ago for the exact same reason. My C-skills (and mostly time resources) weren't really up to par to try to get it included in core. I mostly really want this to work as well as I think it should :)
I'll run some tests with your benchmark.py (and compare that to my benchmark script) and post some results.