On 7/13/13 7:27 AM, Michael Woerister wrote:
So, I thought it might be a good idea if I tried to remove the spanned<T> struct altogether and added the span field directly to the types that are wrapped at the moment. If needed, I would also add a Spanned trait that allows to abstract over anything having a span. Because this would affect quite a bit of the codebase (albeit not semantically) I thought, I'd better ask beforehand if you people think this is a good idea. Or maybe I am missing a reason for keeping the spanned<T> struct around?
I might prefer to just use a compressed side table for memory usage reasons. Can we measure how much space the spans are taking up in the AST?
Patrick _______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
