[ 
https://issues.apache.org/jira/browse/JCRVLT-743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17813375#comment-17813375
 ] 

Julian Reschke commented on JCRVLT-743:
---------------------------------------

Question: if we have {{n}} child nodes, we currently need ~ {{2n}} move 
operations.

Wouldn't it be better to move the complete node to a temp location? That would 
be one move instead of {{n}}, and we would only need {{1 + n}} operations in 
total.

> node stashing doesn't always need nt:unstructured
> -------------------------------------------------
>
>                 Key: JCRVLT-743
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-743
>             Project: Jackrabbit FileVault
>          Issue Type: Improvement
>            Reporter: Julian Reschke
>            Priority: Major
>
> Using nt:unstructured for the stash node is overkill if the node being 
> updated does not required child node ordering.
> We could either use oak:unstructured (when available), or maybe use the type 
> of the node to be updated.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to