Skip to content

Gizmo2: Non-capturing lambdas should be singletons #266

@dmlloyd

Description

@dmlloyd

If a lambda doesn't capture any values, it can be a singleton, which will improve runtime performance slightly. This could be done by returning a static getter instead of a constructor method handle in this case.

Metadata

Metadata

Assignees

Labels

2.xIssue applies to Gizmo 2.xenhancementNew feature or request

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions