It always amazes me just how big the standard library is. For instance, I’ve never heard of ChainMap. Thanks for the tip.
Also, good considerations! To be fair, I was only considering two dictionaries based on the title, and I usually don’t worry too much about premature optimization. If these solutions ended up being a bottleneck, I might look into ChainMap.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
It always amazes me just how big the standard library is. For instance, I’ve never heard of ChainMap. Thanks for the tip.
Also, good considerations! To be fair, I was only considering two dictionaries based on the title, and I usually don’t worry too much about premature optimization. If these solutions ended up being a bottleneck, I might look into ChainMap.