On 2/16/17 7:12 AM, Xidorn Quan wrote:
The perf penalty of xml:base is basically that we have to dynamically
construct a URL from bottom to top along the tree whenever we need a
base URL of an element. And since this URL may be constructed
dynamically, the caller would have to hold a strong reference to it, and
thus an additional refcount manipulation. So a URL not dynamically
generated would be enough to avoid that penalty.

I assume this means that the Get/SetExplicitBaseURI API on nsINode is still OK?

-Boris
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to