Skip to content

Should history manager cache results? #15388

Description

@krassowski

JupyterLab has inline completion which searches the history based on what user types. Since user usually types extra characters, it could be faster if instead of redoing the computation we filtered within previous results. In ipykernel this is exposed in https://github.com/ipython/ipykernel/blob/213cbf668219fe4e62afc97ee875bb9ead893899/ipykernel/ipkernel.py#L626-L641

Same optimization might be useful for IPython history completions too.

Activity

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