marmelab/phpcr-api — pull request #4 by RobinBressan (2014-05-14 17:19:49+00:00)
Title: [RFR] Adding hasChildren method to fix perf issues

To know if a node has children we do a count on the nodes list. On big tree is extremely slow. This PR replaces this by a call to NodeInterface::hasNodes().