Whiteknight / ParserObjects

C# library for parser combinators
https://whiteknight.github.io/ParserObjects
Apache License 2.0
6 stars 0 forks source link

Function parser should take a data/argument value #183

Closed Whiteknight closed 1 year ago

Whiteknight commented 1 year ago

A lot of Function parser usage currently relies on closures. This is costly because we have to create a new closure for every invocation. Function should instead take a data/argument value which can be passed in to a static callback to avoid creating closures.

Once we have that we should go back and audit existing usages to make sure we are properly optimized.

Whiteknight commented 1 year ago

This is done in v5