Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
PirateAvogadro
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
PirateAvogadro
5y ago
You don't need to test up to n/2, just floor(sqrt(n)) will do even better you only need to test the primes <= floor(sqrt(n))
2.
▲
by
PirateAvogadro
7y ago
You could use ITERATOR_DEBUG_LEVEL=1 or 0 in debug mode; I made a "FastDebug" profile for this, although you will have to recompile dependencies
3.
▲
by
PirateAvogadro
9y ago
Having chrome installed by whatever [dark] pattern is at least putting it on an even footing with the platform's default browser - for those who would never proactively change their browser, this at least is closer to such a browser me