1
0
mirror of https://github.com/helix-editor/helix synced 2024-11-10 10:34:45 +01:00
helix/helix-term
Mo 6db666fce1
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
2024-02-24 16:59:11 +01:00
..
src Optimization of tilde expansion (#9709) 2024-02-24 16:59:11 +01:00
tests
.gitignore
build.rs
Cargo.toml build(deps): bump toml from 0.7.6 to 0.8.10 (#9539) 2024-02-13 01:48:45 +09:00