Conversation

Having a bit of fun re-implementing a normalisation-by-evaluation base elaborator using arena allocation for terms. Seems to work well, and doesn't result in much weirdness with lifetimes! Only end up needing to use reference counting in values.
2
5
Yeah I'll need to measure it. The issue is in this file - the places I clone are marked with the 'FIXME: ValueEnv::clone' comments. The issue is that there's a bunch of them and it happens a lot. But yeah I dunno if that is outweighed by cache effects and index lookups.
1
Show replies