Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Dylan16807
4 months ago
|
parent
|
context
|
favorite
| on:
A leap year check in three instructions
A branch that triggers 3/4 of the time will not perform well.
Whether that matters comes down to how this function integrates into the rest of the program.
charcircuit
4 months ago
[–]
I don't think the years tested will be random. I think practically it will see long strings of the same value.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Whether that matters comes down to how this function integrates into the rest of the program.