yaml_gen optimization.

This commit is contained in:
Ferdinand Majerech 2014-08-02 23:28:45 +02:00
parent 85b89d3323
commit af4245811a

View file

@ -163,6 +163,7 @@ Node nodes(const bool root, Node range, const string tag, const bool set = false
{ {
while(!(totalNodes >= minNodesDocument)) while(!(totalNodes >= minNodesDocument))
{ {
nodes.assumeSafeAppend;
nodes ~= generateNode(randomType(types)); nodes ~= generateNode(randomType(types));
} }
} }