Skip to content

Combine runs of print statements #51

Description

@ace-dent

Should we combine multiple print statements to save chars?

?"foo"
?"bar"

Becomes:

?"foo\nbar"

If we have more than 2 new lines \n, perhaps use [[...]] form if it's more efficient?

Only risk is where we have deliberately placed a command sequence that relies on being at the end of a print statement. Only one I can think of is when writing a stream of bytes, e.g.

?"foo⁶!5600⁸⁸⁸"
?"bar⁶!5700⁶⁶⁶"
 -- must not concatenate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions