diff options
author | Mo | 2024-02-24 15:59:11 +0000 |
---|---|---|
committer | GitHub | 2024-02-24 15:59:11 +0000 |
commit | 6db666fce1fb4627c06d147554b8e1eb9970619e (patch) | |
tree | 8ed202acf6936485c33f033e6af5f294dfad0da0 /runtime/queries/r | |
parent | ec9efdef3b2f613a86098058f5705e7863e375e2 (diff) |
Optimization of tilde expansion (#9709)
* Use next and avoid a redundant prefix strip
* Avoid allocations
Especially when `expand_tilde` is claled on a path
that doesn't contain a tilde.
* Add a test
* Use Into<Cow<…>>
* Put the expand_tilde test at the end of the file
* Remove unused importsw
Diffstat (limited to 'runtime/queries/r')
0 files changed, 0 insertions, 0 deletions