Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ajsnigrutin
49 days ago
|
parent
|
context
|
favorite
| on:
4 billion if statements (2023)
Why not optimize this? Create a lookup table, a 2^64 large array of bools, and just check the n-th element to see if it's odd or even?
Many gigabytes saved!
/s
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Many gigabytes saved!
/s