On 6/13/12 4:31 PM, Brian Anderson wrote:
This method of creating vectors originally had worse performance than
the other. Is the performance problem resolved or resolvable or is
vector creation just going to be expensive?
This would of course get resolved.
Actually, I don't think building up vectors with dvec is more expensive
(at least by my measurements in the vec_append benchmark, dvec is as
fast as the original).
What is slower though is smallintmap, which makes heavy use of
grow_set_elt(). The current implementation doesn't get inlined as well
as the original. I think this can be solved with some tender love and care.
Niko
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev