Mercurial > hgrepos > Python > libs > ConfigMix
view tests/data/conf10.json @ 494:60683361ebed
Test-script for checking the costs of different variable lookup methods
Variant from https://stackoverflow.com/questions/2714573/instance-variables-vs-class-variables-in-python
| author | Franz Glasner <f.glasner@feldmann-mg.com> |
|---|---|
| date | Fri, 17 Dec 2021 19:24:54 +0100 |
| parents | 816327e178b0 |
| children | 88bfa76463a6 |
line wrap: on
line source
{"key1": "in the root namespace", "key2": "in the root namespace -- too", "tree1": { "key3": 32, "tree2": { "key4": "get this as `tree1.tree2.key4'", "key5": true, "key6": "off" } } }
