pikelet
pikelet copied to clipboard
Use arena for allocating AST nodes
This might be faster than using reference counting, as we currently do in the core AST. We'll have take care not to let it adversely impact readability in the type checker, however.
Another interesting option: https://github.com/fitzgen/generational-arena - not sure how it would handle long running processes, like a language server 🤔