On 21 November 2010 20:48, Graydon Hoare <[email protected]> wrote:

> It's not clear to me yet that the boxing and vtbl'ing costs on objs will
> really hurt, but we're not venturing into objc territory on dispatch. We're
> doing more like "C++ with the pimpl idiom".

And presumably your objs aren't so mutable that an optimizer couldn't
cache the result of a vtbl lookup if it was going to be called in a
tight loop?
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to