Skip to content

Speed up code #722

@sfsinger19103

Description

@sfsinger19103

See https://towardsdatascience.com/6-bad-manners-makes-your-python-program-slower-15b6fce62927

  • Replace 'import ' with 'from import ' where reasonable. Importing a whole module when you're using only part of it can slow things down.
  • Avoid dot-dot chaining
  • Use for loop, not while loop, wherever possible

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions