Skip to content

my_power is really slow. #2

Description

@dharhas

The my_power implementation is really slow, I think we should replace it with something faster.

`In [3]: from sprint_tutorial.compute import my_power

In [4]: %timeit my_power(2.5, 8)
The slowest run took 4.27 times longer than the fastest. This could mean that an intermediate result is being cached.
1000000 loops, best of 3: 1.62 µs per loop`

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions