On 9/7/12 10:02 AM, Gareth Smith wrote:
Apart from fixed-length strings, which could perhaps be treated specially, is this a reasonable way to accomplish the objective of making string pointers the same as other pointers (apart from vector pointers, which in are in another kettle of fish).
I'm opposed to this. Having the string data for @str actually be on the exchange heap is unintuitive. Requiring two allocations (one on the exchange heap, one on the task heap) to reference count a string is inefficient. The extra layer of indirection for &str also imposes a tax.
Patrick _______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
