Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
nemetroid
on July 10, 2017
|
parent
|
context
|
favorite
| on:
Iterators and Streams in Rust and Haskell
Perhaps the entire call of the function was replaced by a constant, then.
mastax
on July 11, 2017
[–]
Yep:
https://godbolt.org/g/LCUah9
calls_cheating(): movl $60, %eax ret
gizmo686
on July 11, 2017
|
parent
[–]
No. The "constant" is only provided at runtime from Haskell through its FFI. GCC has no opportunity to optimize that.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: