mirror of
https://github.com/davidhalter/jedi.git
synced 2026-02-18 00:34:13 +08:00
Remove the old star import cache, because it's not even used.
This commit is contained in:
@@ -68,7 +68,6 @@ definitely worse in some cases. But a completion should also be fast.
|
||||
Caching
|
||||
~~~~~~~
|
||||
|
||||
.. autodata:: star_import_cache_validity
|
||||
.. autodata:: call_signatures_validity
|
||||
|
||||
|
||||
@@ -217,13 +216,6 @@ scale `max_executions` and `max_until_execution_unique`:
|
||||
# caching validity (time)
|
||||
# ----------------
|
||||
|
||||
star_import_cache_validity = 60.0
|
||||
"""
|
||||
In huge packages like numpy, checking all star imports on every completion
|
||||
might be slow, therefore we do a star import caching, that lasts a certain
|
||||
time span (in seconds).
|
||||
"""
|
||||
|
||||
call_signatures_validity = 3.0
|
||||
"""
|
||||
Finding function calls might be slow (0.1-0.5s). This is not acceptible for
|
||||
|
||||
Reference in New Issue
Block a user