❔ Is it worth to create lazy dictionary in this case?
I have following class:
so as you see Add function add to the dictionary class TreeNode, it looks like a tree
I made a lazy dictionary and my question is: is it worth it? Will it be better with simple dictionary?
3 Replies
It's not a lazy dictionary, it's just lazily created dictionary.
No it's not worth it
Just use this
If it's public use property
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.