Perf improvement for Templar.is_template (#57489)

* Faster is_template
This commit is contained in:
Matt Martz
2019-06-06 14:49:27 -05:00
committed by Brian Coca
parent 95882faca6
commit 728fce0c44
8 changed files with 90 additions and 47 deletions

View File

@@ -0,0 +1,5 @@
minor_changes:
- Templar - Speed up ``is_template`` by lexing the string, instead of actually
templating the string (https://github.com/ansible/ansible/pull/57489)
- InventoryManager - Speed up host subset calculation by performing direct host
uuid comparisons, instead of Host object comparisons