rc
rc copied to clipboard
fix exponential-time globbing "bug"?
Saw this paper by rsc not too long ago, was wondering if we should address this in rc. The fix should be minor but will need thorough testing.
https://research.swtch.com/glob
https://github.com/muennich/rc/commit/1263ab60d5bf5612d273b80e87a430b9e0a75afd Bert did it some time ago.
Where have I been!?
I don't think it has been merged though.
Ah, well, ok so I'm not completely lost. Would be nice to have this commit.
Pull request
It is not hard to come up with test params that will rather robustly distinguish between the slow and the fast version, but that may slow down trip.rc, presumably only when the test fails (takes too long).
Done.