laravel-nestedset icon indicating copy to clipboard operation
laravel-nestedset copied to clipboard

Performance for frequent tree updates

Open Alig96 opened this issue 5 years ago • 2 comments

shows good performance when tree is updated rarely.

How big is the penalty for updating the tree regularly? Is the penalty for appending/prepending less than the penalty for inserting at a specified position?

Is there an alternative structure thats more appropriate for frequent updates?

Alig96 avatar Jan 02 '20 16:01 Alig96

@Alig96 Every change in the tree triggers a lot of updates. If your app are writing frequently to the tree, this might not be the approach for you

nivv avatar Jan 17 '20 07:01 nivv

@nivv any suggested alternatives ?

nicopenaredondo avatar Jun 16 '20 01:06 nicopenaredondo