Mercurial > hgrepos > Python > libs > ConfigMix
view tests/data/conf22.ini @ 511:93a5346907ef
Using generator expressions to directly create tuples is a not so good idea performance-wise.
Use it only if you have memory issues because it is not very performant.
Using tuple([list comprenension]) is at most twice as fast.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sat, 18 Dec 2021 18:44:21 +0100 |
| parents | 5a88c514d4e0 |
| children |
line wrap: on
line source
[config] tmpdir = {{_tmpdir}}\2 [config.db.user] name = the_database_user_2 __doc2 = Overwriting a comment pwd=the-database-password-2 [config.db.locinfo.ro] hostname = 3rd-host hostname2 = {{db.locinfo.ro.hostname}}{{db.locinfo.ro.hostname}}
