Jake Howard
Jake Howard
I don't have an implementation in mind, you might need to do some research into potential ways to achieve this.
Prefix matching is definitely better than nothing, but proper glob redirects would be nice. You might be able to achieve that by finding the first `*` in a string, doing...
I've taken a look and added some comments. On second thoughts, it might not be the best approach. Looking for any redirect with a `*` in is going to be...
That's a good reference, yes. Although I think relying on DB wildcard literals may not be best. Perhaps pre-processing the search paths to use a `*` rather than `%`, but...
Wildcard redirects turn out to be both quite difficult to implement, and likely not super useful to many to warrant the added overhead. Looking at https://pypi.org/project/django-redirects/, another redirects implementation for...
There's only 1 panic this introduces, and it's during server startup. Sure, I could facade it to convert a path issue to `IoResult`, and let Rust deal with returning that...
There are other uses of `unwrap`, but those are strictly in tests, which I've not considered to be an issue. If a test panics, it's functionally the same as a...
I've not done any benchmarks from this, but I'd expect most of the benefit to come in throughput as opposed to raw latency. Adding more `yield`s adds more overhead to...
Even the `master` test suite fails locally for me, so I don't trust my local environment (or there's something else weird going on). I think I found the root cause...
There are only 3 failing here, all looking like they may be related. I'll rebase and see if that resolves anything.