talyz / fromElisp

An Emacs Lisp reader in Nix.
MIT License
33 stars 4 forks source link

Scopes: Refactor #6

Closed adisbladis closed 2 months ago

adisbladis commented 2 months ago

This is an extension of #5 which also refactors some scoping to reduce the amount of allocations required.

This is not a huge improvement as most of the slowness stems from the overall slow parsing approach necessitated by Nix. Nonetheless, it's a nice improvement in both performance & readability.