Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
meta_AU
on Oct 6, 2017
|
parent
|
context
|
favorite
| on:
Sieve of Eratosthenes in Python (2015)
You can avoid the more expensive squaring in favour of addition if you keep a couple of extra counters.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: