Conversation

I'm guessing you'll need places where you allocate trees of nodes as 'checkpoints' but it'd be nice to reduce that as much as possible. It would be also neat to design the core calculus in such a way that is amendable to streaming, but I've got no idea how to do that. 🤔
As you can see, the traditional 'tree-based' syntax tree is very allocation heavy, and has lots of pointer indirection leading to poor data locality. Maybe using an allocator would help with that somewhat, but it makes me a tad sad. Hoping there is a better way!
2
2
Show replies