HomePhorge

zaml: don't sort object attributes for output
9099a42d9514Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

zaml: don't sort object attributes for output

Sorting YAML attributes makes for marginally nicer human-friendly YAML output,
but ends up costing a non-trivial amount of computation to determine the
ordering of objects.

We can skip that with pretty much no adverse effects.

Signed-off-by: Daniel Pittman <daniel@puppetlabs.com>

Conflicts:
lib/puppet/simple_graph.rb
lib/puppet/transaction/event.rb
lib/puppet/transaction/report.rb
spec/unit/util/log_spec.rb

Signed-off-by: Daniel Pittman <daniel@puppetlabs.com>

Details

Provenance
Daniel Pittman <daniel@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU20efe942d2cf: util: don't rebuild regexp every time we invoke absolute_file?
Branches
Unknown
Tags
Unknown

Event Timeline

Daniel Pittman <daniel@puppetlabs.com> committed rPU9099a42d9514: zaml: don't sort object attributes for output (authored by Daniel Pittman <daniel@puppetlabs.com>).Sep 18 2012, 3:12 AM