Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
userbinator
60 days ago
|
parent
|
context
|
favorite
| on:
Should you normalize RGB values by 255 or 256?
It's 3 cycles for float multiplication (and 1 for shift right):
3x faster
In throughput it's even less of a difference: 2 per cycle vs 3 per cycle.
50% faster
Consider applying for YC's Fall 2026 batch!
Applications
are open till July 27.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
3x faster
In throughput it's even less of a difference: 2 per cycle vs 3 per cycle.
50% faster