Skip to content
This repository was archived by the owner on Aug 11, 2025. It is now read-only.
This repository was archived by the owner on Aug 11, 2025. It is now read-only.

Memory usage optimization #13

@AlexisMardas

Description

@AlexisMardas

We realized that in some classes when an empty immutable list needs to be passed as a parameter to a method, a new List instance is created. Instead, we propose the more appropriate alternative of Collections.emptyList() that uses the same immutable instance, An example of this issue can be found in line 38 of ParameterizedTypeName. For further details check the implementation of emptyList.

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