Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Implement import completion cache #861

Copy link
Copy link
@xvuko

Description

@xvuko
Issue body actions

Steps to reproduce

  1. Change current directory to directory containing big sub-tree (ie. system root directory).
  2. start bpython executable
  3. observe high CPU usage in processor monitor / manager.

Affected versions

0.19 and above

Detailed Description

This problem started after 1a674f0. It seems that new find modules implementation based on importlib.machinery.FileFinder is much slower than previous one.

Should bpython traverse whole sub-tree on each startup? Quite often I do start it from my home directory and traversing all it's contents including mounted remote filesystems seems wasteful.

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.