mirror of https://github.com/ansible/ansible.git
Use a custom id generator over uuid4
>>> timeit.timeit("uuid.uuid4()", setup="import uuid") 9.518647909164429 >>> timeit.timeit("get_unique_id()", setup="from __main__ import get_unique_id") 0.40436601638793945 This will mainly be beneficial when a very large inventory is being used, however it may also help with some very large playbooks.pull/21270/head
parent
84135ef7ad
commit
4cbe610263
Loading…
Reference in New Issue