Mercurial > hgrepos > Python > libs > ConfigMix
view tests/data/duplicate-keys.yml @ 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 | 6a044778371a |
| children |
line wrap: on
line source
# -*- coding: utf-8; mode: yaml; indent-tabs-mode: nil; -*- # A top-level duplicate %YAML 1.1 --- top: subkey1: the value other: key2: another value top: subkey2: the value
