Skip to content

SciRuby/iruby, Pry, Tab Completion with >1000 items fast on console, slow on notebook #2136

Open
@LunarLanding

Description

@LunarLanding

Hi. I am trying to setup auto completion for this particular combination: SciRuby/iruby with Pry.
This results in autocompletions returning a list of >1000 suggestions in some situations.
This list is useless because of it's size. However the ipython console seems to handle it instantaneously, while the notebook freezes for some seconds.
This makes it a little annoying to use since it leads to accidental hang ups. I'm going to try and find a way to restrict what the iruby kernel returns.
If someone could point me to the appropriate code I could also try to prevent these situations.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions