1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/v2
Toshio Kuratomi 77731440f3 Optimize the plugin loader.
We have been caching the paths to the plugins but before we would only
cache the specific plugin that we were looking for.  This meant that we
might search through all of the plugin directories before finding the
specific module we were interested in.  The next plugin we needed we
might again search through all the plugin directories before finding the
plugin we wanted.

This new code will cache all the potential plugins in each directory
searched.  For a play that only uses one plugin we'll only search
through directories until we encounter the directory that has the proper
plugin.  For a large playbook with many plugins used we'll search
through each directory at most once each.

From v1: 68e86de26f
         730c2ba403
2015-02-18 08:12:01 -08:00
..
ansible Optimize the plugin loader. 2015-02-18 08:12:01 -08:00
bin For now throw an exception if decoding a non-utf8 extra var 2015-02-02 14:14:18 -08:00
hacking fix links to ansible-devel in documentation pages 2015-02-17 14:30:31 +03:00
samples Fixing many bugs in v2 2015-02-09 16:56:38 -06:00
scripts Add the python3 compat header 2014-10-28 20:41:51 -04:00
test Moving more action plugins over and fixing some bugs with role loading 2015-01-07 10:48:33 -06:00
README-tests.md Add a README for the v2 unittests 2014-10-15 18:25:54 -04:00