You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it planned to make this change stable in a coming release ?
The change seems to be a good optimization (typically for sorting DirEntry-s), without any risk of issue.
Activity
marcospb19 commentedon Oct 5, 2021
Hey, @arennow and @m-ou-se, is it possible to have an owned version of this function?
(self) -> OsStringSomething like this in the trait
tavianator commentedon Feb 22, 2022
@marcospb19 An owned version is already available from
DirEntry::file_name()mic006 commentedon Apr 3, 2023
Hi @arennow and @m-ou-se
Is it planned to make this change stable in a coming release ?
The change seems to be a good optimization (typically for sorting DirEntry-s), without any risk of issue.
cgwalters commentedon Jun 27, 2024
Another year later: I also came across this one after writing some code to sort directory entries and thinking about the allocations involved.
It looks like we got hung up previously on the extension trait sealing: #83581 (comment)
I guess we need another crater run?