Skip to content

pr: don't convert to String when storing lines to print #10333

@jfinkels

Description

@jfinkels

In pr, the bytes are read from the input file as bytes, converted to String for storage, then converted back to bytes for writing to stdout. Instead, we should just buffer the bytes directly without going through String.

Originally posted by @sylvestre in #10303 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions