On Sat, Jul 13, 2013 at 09:23:56AM -0700, John Clements wrote:
> I don't want to put words in peoples' mouths, but I think I've heard
> people suggesting that we just use a side table for this. Do we have
> tables with weakly held keys?

We don't, but I presume such a table would be indexed with node-ids
anyhow. We don't generally delete AST anyhow, except possibly things
that are #[cfg]'d out? In any case, if this were an issue,
we could "GC" the span table after macro expansion.



Niko
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to