4 ms·
This is a fantastic idea. AST works well in an array based allocation block since it has no need for freeing individual nodes. It’s an add-only allocation.
by ww520 2y ago
This is a fantastic idea. AST works well in an array based allocation block since it has no need for freeing individual nodes. It’s an add-only allocation.
- JonChesterfield 2y agoWhat about transforming the AST after it is built, or deriving a new tree which partly aliases the original in persistent structure fashion?