don't use function_definition as a name anymore, also not in helper functions

This commit is contained in:
David Halter
2013-08-21 13:38:13 +04:30
parent 80ec8da513
commit 2e8432de21
4 changed files with 11 additions and 11 deletions
+5 -5
View File
@@ -64,14 +64,14 @@ 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:: scale_function_definition
.. autodata:: scale_call_signatures
Caching
~~~~~~~
.. autodata:: star_import_cache_validity
.. autodata:: function_definition_validity
.. autodata:: call_signatures_validity
"""
@@ -211,9 +211,9 @@ max_executions = 250
A maximum amount of time, the completion may use.
"""
scale_function_definition = 0.1
scale_call_signatures = 0.1
"""
Because function_definition is normally used on every single key hit, it has
Because call_signatures is normally used on every single key hit, it has
to be faster than a normal completion. This is the factor that is used to
scale `max_executions` and `max_until_execution_unique`:
"""
@@ -229,7 +229,7 @@ might be slow, therefore we do a star import caching, that lasts a certain
time span (in seconds).
"""
function_definition_validity = 3.0
call_signatures_validity = 3.0
"""
Finding function calls might be slow (0.1-0.5s). This is not acceptible for
normal writing. Therefore cache it for a short time.