time complexity of TSNode::* APIs #2250
-
By reading the implementation, I found just recently that the APIs might be more expensive than the names suggest. For example, Lines 461 to 490 in a62bac5 see also the implementation of I'm wondering if there's any possible/planned optimization for this, and if not, will this be documented? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
It's a known feature and it's a cost of immutable trees with a cheap cloning operation what allows to work with the same trees in parallel from multiple threads. It will be documented. |
Beta Was this translation helpful? Give feedback.
It's a known feature and it's a cost of immutable trees with a cheap cloning operation what allows to work with the same trees in parallel from multiple threads. It will be documented.