Re:Box: Python dictionaries with recursive dot notation access
by deathanatos on Friday May 05, 2017 @08:52PM
(#14277997)
That's a huge micro-optimization. For a trivial example of a class having the attributes "a", "b" and "c", and a dict of the same,
You're talking <6ns per access; except in the very exceptional case where you know you need this, in Python of all languages, it's an over optimization. The maintainability of having the stupid-simple class vastly outweighs the speed.
[ Parent
| on HN ]
There are no comments on this comment yet.