Skip to content

It's not possible to open a file without invoking allocations for the file name #22190

Closed
@tbu-

Description

@tbu-

File::open takes a Path object as reference, although it only clones it afterwards.

It's also impossible to re-use the allocation for the file path, because it's only dropped at the end.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions