-
Couldn't load subscription status.
- Fork 28
Description
PROBLEM REPORT/ QUESTIONNING
Hi,
I've been using BTree in order to optimize the performances of my code, which seems to be great in terms of insertion and deletion. I've unexpectedly encountered a major problem: I sometimes need to check on my BTree size, and I realized that using len(btree) is computationally very expensive, which is what now slows my code.
I've seen in the docs about the Length utility (https://btrees.readthedocs.io/en/latest/api.html#BTrees.OOBTree.BTree), but I really can't figure out how to use it, is there any example somewhere or can someone point me towards the right direction ?
I'm working on python 3.11.5 with Btrees version 5.2 and an OOBTree.