evinism / evinism/lambda-explorer

move to more performant internal representation

オープン
#7 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
performance
主要言語
JavaScript
スター
69
フォーク
10
PR マージ指標
30日以内にマージされた PR はありません

説明

The current internal representation leaves a lot to be desired.

Low hanging fruit would be to directly represent a(a(a(a(b)))) not as 5 different functions, but maybe just one function with a `composed: 4` key. That would probably make performance actually acceptable for large functions.

The final version of this is that we can probably get hella hella speed improvements if we 'compile' the expression before beta reduction... but that sounds hard.

Requires having tests

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。