Skip to content

Avoid unnecessary cloning in list_* methods #604

@Wukong247

Description

@Wukong247

Currently, the list_* methods clone their return values even though there's no mutation happening. We can optimize memory usage by just returning references where possible.

Metadata

Metadata

Assignees

Labels

good first issueissues suitable for early contributors

Type

No type

Projects

Status

WIP

Relationships

None yet

Development

No branches or pull requests

Issue actions