3 ms·Perhaps the entire call of the function was replaced by a constant, then.by nemetroid 9y agoPerhaps the entire call of the function was replaced by a constant, then.mastax 9y agoYep: https://godbolt.org/g/LCUah9 https://godbolt.org/g/LCUah9 calls_cheating(): movl $60, %eax retgizmo686 9y agoNo. The "constant" is only provided at runtime from Haskell through its FFI. GCC has no opportunity to optimize that.