<p>Corey Farrell <strong>uploaded patch set #3</strong> to this change.</p><p><a href="https://gerrit.asterisk.org/6996">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">CLI: Improve completion performance.<br><br>* Remote consoles no longer ask for the number of matches before asking<br>  for the list.  Doing so caused double the work to be done.<br>* For functions that deal with the list of matches replace 'char **'<br>  with a vector of 'char *'.  The structure is very similar but the<br>  vector has macro's to assist with building the list and the vector<br>  keeps count.<br>* Add ast_cli_completion_vector_save to support CLI handlers providing<br>  all completion options in a single response to request for completion.<br>  Using this method is significantly faster.  It should be considered<br>  for CLI completions that require locking or iterating large<br>  containers.<br>* Deprecate ast_cli_generatornummatches and ast_cli_completion_matches.<br>* Update ast_module_helper to use ast_cli_completion_vector_save.<br><br>Change-Id: Ie527d3d5e8efcf5eaddf882db8b1f904e86543a8<br>---<br>M include/asterisk/cli.h<br>M include/asterisk/vector.h<br>M main/asterisk.c<br>M main/cli.c<br>M main/loader.c<br>M tests/test_substitution.c<br>6 files changed, 389 insertions(+), 278 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/96/6996/3</pre><p>To view, visit <a href="https://gerrit.asterisk.org/6996">change 6996</a>. To unsubscribe, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/6996"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>
<div style="display:none"> Gerrit-Change-Id: Ie527d3d5e8efcf5eaddf882db8b1f904e86543a8 </div>
<div style="display:none"> Gerrit-Change-Number: 6996 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: Corey Farrell <git@cfware.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 </div>