Joerg Hoh created OAK-12499:
-------------------------------
Summary: Avoid unnessary property counting
Key: OAK-12499
URL: https://issues.apache.org/jira/browse/OAK-12499
Project: Jackrabbit Oak
Issue Type: Improvement
Components: jcr
Affects Versions: 2.8.0
Reporter: Joerg Hoh
Avoid redundant work:
* {{Node.getProperties()}} eagerly counts all readable properties, even when
callers only consume the iterator.
* Pattern-filtered iterators rescan matching properties on every {{getSize()}}
call.
* {{Node.hasProperties()}} also counts all readable properties merely to
determine whether any exist
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)