Comment Re:Oh god so what? (Score 1) 193
This is an insufficient solution because std::function has a (small) bit of overhead compared to a raw function call. So it is not quite as efficient as simply using auto.
This is an insufficient solution because std::function has a (small) bit of overhead compared to a raw function call. So it is not quite as efficient as simply using auto.
Am I the only one who would be excited if it hit Mars? I know that it almost certainly won't, but if it did, it could possibly give us great data regarding the possible origin of water on Earth.
Not exactly a fair comparison. I only trust banks because they are insured and if they "lose" my money then I will have recourse to recover it. With the online bitcoin exchanges, there is no such thing.
It's not just about "having enough RAM". While that certainly is a factor, it's not the only one. As you suggest, pretty much everyone has enough RAM to run just about any normal application with 64-bit pointers.
But if you want speed, you also have to pay attention to things like cache lines. 64-bit pointers often means larger instructions are needed to be encoded to do the same work, larger instructions means more cache misses. This can be a large difference in performance.
"Roman Polanski makes his own blood. He's smart -- that's why his movies work." -- A brilliant director at "Frank's Place"