Join GitHub today
PERF: tab completion with a large index #18587
from #16326 (comment)
If you have a very large index,
So what I would do is if the index is say < 100, use the currently _dir_addition, otherwise return an empty list! (its essentially too big to use tab completion for anyhow). can you make this change and add an asv for this (could be a separate PR as well)
referenced this issue
Dec 1, 2017
One may have a very large index with few distinct values. I would suggest to limit the number of values returned rather than the size of the index. (It seems that the delay is due to the handling of the results rather than the computation of
additions = set([c for c in self._info_axis.get_level_values(0).unique()[:100] if isinstance(c, string_types) and isidentifier(c)])
Anyway, I think I can address this issue in #16326 ; the topics are quite related.
I don't know exactly, but the slowdown seem to come from the IHM: When I create a large Series (
Yes thanks, that's an awesome new feature.