CDC and yaml_bench makefile now always compile with debug
symbols. yaml_bench can now repeat the benchmark many times in a single run. yaml_gen can now disable collection keys in mappings.
This commit is contained in:
parent
13ea5f0c24
commit
915428c8ed
5 changed files with 26 additions and 15 deletions
|
@ -155,7 +155,8 @@ Node genBinary(bool root = false)
|
|||
|
||||
Node nodes(in bool root, Node range, in string tag, in bool set = false)
|
||||
{
|
||||
auto types = typesCollection ~ (set ? typesScalarKey : typesScalar);
|
||||
auto types = config["collection-keys"].as!bool ? typesCollection : [];
|
||||
types ~= (set ? typesScalarKey : typesScalar);
|
||||
|
||||
Node[] nodes;
|
||||
if(root)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue