On Sat, Nov 1, 2014 at 11:34 AM, <fuller...@gmail.com> wrote: > What a terrible news! I have many C++ XPCOMs evaluating xpath expressions. > They must be coded in C++ for high speed.
Given the modern JIT and DOM bindings, I am very doubtful that you will encounter JS-based or binding-based bottlenecks for xpath expression. The calls from C++ to your JS-implemented XPCOM component will indeed be slow. But hopefully you can find a way to batch them up so that they're not in the tight loop. > Are there alternative nsIxxx interfaces for xpath evaluation? > I guess it would be very costly to migrate the codes from C++ to > javascript. Are there better ways? > Not that I'm aware of unfortunately. _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform