hackworthltd / primer

A pedagogical functional programming language.
GNU Affero General Public License v3.0
13 stars 1 forks source link

Optimise evaluator low hanging fruit #733

Open brprice opened 1 year ago

brprice commented 1 year ago

In #718 we changed the approach of EvalFull to compute free variable sets a lot. This could easily be cached, potentially saving us many traversals.

(However, if we really want to improve performance of evaluate-to-normal-form, we maybe want to move away from iterating a rewrite system).

dhess commented 1 year ago

See also #750.