Skip to content

Replace active pattern with structs in the compiler code #16286

Closed
@psfinaki

Description

@psfinaki

Part of the upcoming perf effort: should have less allocs and speed things up a bit.

The current best RegEx seems to be this one: (?:let|val)(\s+rec)?\s+\(\|[^|)]+\|_\|\)

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions