On 6/13/13 9:56 AM, Joel Feenstra wrote:
Peformance is a good question. My guess would be that it'd perform
somewhere between a virtual function and plain function call. I'd
definitely want to run some numbers to know for sure, but it's not much
different from using function pointers in C (as far as I understand rust
anyway).

OK. So in Gecko, we get styles a _lot_; the performance of the calls is definitely very noticeable (e.g. having them inlined helps a lot).

Slower style gets are perhaps ok if it has to be done more rarely....

-Boris
_______________________________________________
dev-servo mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-servo

Reply via email to