Skip to content

I find that pymongo completion is very slow - is there a way to cache this?  #56

Closed

Description

@cmorgan

I notice that libraries like numpy and others are pre-cached for the completion and API exploration, is it possible to do this for other libraries?
Thanks

Activity

  1. krassowski commented on Jul 13, 2021

    @krassowski
    Member

    This is a good point for #26.

  2. krassowski commented on Jul 13, 2021

    @krassowski
    Member

    I added an option to customise the list of libraries for which the labels should be cached in #26, but as for the internal caching that Jedi does on its side (https://github.com/davidhalter/jedi/blob/master/jedi/inference/helpers.py#L194-L202) I think that you would need to open an issue in the Jedi repository: https://github.com/davidhalter/jedi.

  3. cmorgan commented on Jul 14, 2021

    @cmorgan
    Author

    great stuff, thanks for this! Will open Jedi issue, in the short term i'll monkey patch "helpers.is_big_annoying_library"
    Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions