Find answers from the community

Updated 2 months ago

Tree to list

I upgraded to newest version, added mongodb, and changed from a TreeIndex to a ListIndex and I'm not sure I'm getting such complete summarizations of all nodes, also it seems to be taking longer? any thoughts?

Here's code:
L
b
6 comments
Hmmm, your code seems fine to me. The same code but swapping list for tree works better you think?
Yeah. It’s kind of hard to prove that though. It also seems slow even with the mongo which I thought would speed things up
Tbh I think mongo is good for super huge numbers of documents. But loading everything into memory should always be faster if it's not an absurd size
Well more so I can reuse the documents and index
Instead of rebuilding. Is that the wrong idea
Mmm, i think the mongodb thingy is more for sharing documents across different indexes. The index is still technically rebuilding (or reloading I should say)
Add a reply
Sign up and join the conversation on Discord