Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
gbin
on Aug 30, 2022
|
parent
|
context
|
favorite
| on:
Cost of a Integer Cast in Go
I agree... The compiler can make a lot of assumptions on such a simple operation, you have to look at the assembly. In other more complex cast cases it might be slower so I would not assume anything.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: