Skip to content
New issue

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

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

Already on GitHub? # to your account

python/p0118 takes about 3 minutes #3

Open
LivInTheLookingGlass opened this issue Sep 18, 2019 · 1 comment
Open

python/p0118 takes about 3 minutes #3

LivInTheLookingGlass opened this issue Sep 18, 2019 · 1 comment
Assignees

Comments

@LivInTheLookingGlass
Copy link
Owner

That's way over the time limit. There has to be a faster way to do this. Maybe caching the primes ahead of time would work? I dont know that that would get down to the minute time limit though.

@LivInTheLookingGlass
Copy link
Owner Author

Trimmed it down to ~5 minutes with a few tweaks. Will push later. Still a ways to go. Might be that I need to look into islice() again

@LivInTheLookingGlass LivInTheLookingGlass changed the title python/p0118 takes about 11 minutes python/p0118 takes about 5 minutes Sep 20, 2019
@LivInTheLookingGlass LivInTheLookingGlass changed the title python/p0118 takes about 5 minutes python/p0118 takes about 3 minutes Sep 27, 2019
@LivInTheLookingGlass LivInTheLookingGlass self-assigned this Jul 26, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

1 participant