eTM
eTM
consider the following piece of code: ``` require 'rubygems' require 'nokogiri' doc = Nokogiri.XML("") xpa = Nokogiri::XML::XPathContext.new(doc.root) p xpa.evaluate('//baz').length # => 2 p xpa.evaluate('baz').length # => 2 p xpa.evaluate('//@name').length #...
@flavorjones, @unnali: yes register_namespaces is also slow, but something else is going on - please try the following example yourself: ``` require 'rubygems' require 'nokogiri' module Nokogiri module XML class...
p.s.s. The problem that it is not reliable still remains (see comment 3 days ago). BUT, unless i'm doing something wrong, i think the numbers make this a worthwhile pursuit...
Yes. I'm talking about MRI. And the (preceived) problem still persists. And its not primarily about speedup (which could be reaped after solving this). Its about the behaviour of the...
Sorry, entirely my fault, must have missed the mail notification that it was closed :-) It bugs me not that much that I check back regularely. After all, it only...
my proposal is to put it in the tokenize function of Template, as shown below (js version). Its the seven lines between "CALL TEMPLATE RECURSIVE START/END". It is tested, works...
Of course ``` javascript get config() { return [ { test: "One", odd: { bar: 1 } }, { test: "Two", even: { foo: 2 } } ]; } ```...
Hmm, on the other hand CTRL-ALT-Up/Down is bound by default. So arrow keys would duplicate this behaviour. An alternative would be CTRL-ALT-Up/Down always shows the dock, instead of the workspace...