Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Huge Improvement on Python #35

Closed

Conversation

callowaysutton
Copy link

435,000% improvement on #15 's 19,000% improvement on the original version by using the Python 3 built-in LRU Caching decorator. Can be used in Python 2.7 by installing the functools library as well.

This should be competitive with even the C++ version :D

435,000% improvement on PlummersSoftwareLLC#15 's 19,000% improvement on the original version by using the Python 3 built-in LRU Caching decorator. Can be used in Python 2.7 by installing the functools library as well.

This should be competitive with even the C++ version :D
Copy link

@aberent aberent left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you intend to replace PrimePY.py with PrimeCPP.cpp? That appears to be what this pull request is doing.

I have literally no idea how the C++ and Python sources got mixed up, might've been some plugins in my IDE(?)... whoops
@callowaysutton
Copy link
Author

Did you intend to replace PrimePY.py with PrimeCPP.cpp? That appears to be what this pull request is doing.

Yeah I have no idea how that happened...

@rbergen
Copy link
Contributor

rbergen commented Jun 25, 2021

Closing this as an effective duplicate of #9 (and possibly #2).

@rbergen rbergen closed this Jun 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants