By using AST::Node#children directly with a splat we save ourselves an extra method call. This in turn speeds up both the xpath/evaluator/big_xml_average_bench.rb and xpath/evaluator/node_matches_bench.rb benchmarks a little bit.
By using AST::Node#children directly with a splat we save ourselves an extra method call. This in turn speeds up both the xpath/evaluator/big_xml_average_bench.rb and xpath/evaluator/node_matches_bench.rb benchmarks a little bit.