HomePhorge

zaml: speed micro-optimization for Time output
33c127bcaec6Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

zaml: speed micro-optimization for Time output

This is a minor reduction in the time spent outputting times in the ZAML
encoder, by using a (30 percent) faster mechanism to trim the generated ms
value down.

There is a minor reduction in memory load, but not anything substantial.

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
rPUe70273b342e1: whit: cache the `to_s` result.
Branches
Unknown
Tags
Unknown

Event Timeline

Daniel Pittman <daniel@puppetlabs.com> committed rPU33c127bcaec6: zaml: speed micro-optimization for Time output (authored by Daniel Pittman <daniel@puppetlabs.com>).Sep 18 2012, 3:12 AM