1
0
forked from VimPlug/jedi

Add a max_dynamic_params_depth setting to limit recusive searching for those params. It shouldn't be too crazy.

This commit is contained in:
Dave Halter
2016-07-17 13:59:19 +02:00
parent 218278af8d
commit 75c1ebc2fe
5 changed files with 35 additions and 11 deletions
+7
View File
@@ -63,6 +63,7 @@ definitely worse in some cases. But a completion should also be fast.
.. autodata:: max_function_recursion_level
.. autodata:: max_executions_without_builtins
.. autodata:: max_executions
.. autodata:: max_dynamic_params_depth
.. autodata:: scale_call_signatures
@@ -207,6 +208,12 @@ max_executions = 250
A maximum amount of time, the completion may use.
"""
max_dynamic_params_depth = 3
"""
A maximum amount of a recursive search function calls, when the type of a
parameter is needed.
"""
scale_call_signatures = 0.1
"""
Because call_signatures is normally used on every single key hit, it has