Skip to content

List.of().concat(x) should maybe just return x (when x is a list) #204

Closed
@tolmasky

Description

@tolmasky

Just as a performance thing, this happens to happen in my code in a few places, seems like it could be special cased instead of creating a new one (currently List.of().concat(x) !== x)

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