On 11/8/13 10:55 PM, Corey Richardson wrote:
Would you add default type parameters to the language or just use a separate type for allocator-aware containers? (The third option, have them *all* be allocator aware, makes for horrendous UI)
Probably using a separate type, but I wouldn't rule out the first option. Mostly I just wanted to make it clear that allocators and small vector optimization *are* on the table for the Rust standard library.
For one thing, these are important optimizations for Web browser engines, and I don't want to leave that performance on the table when we've come so far with the lifetime/borrowing system.
Patrick _______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
