General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
⃠
Computerphile
comments
Comments by "⃠" (@U20E0) on "Bug in Binary Search - Computerphile" video.
it's worth noting that one operation can be significant ( practically only division though ) it's just that anything involving memory access is going to be more significant by an order of magnitude, it not several.
14
note that it can still overflow in general. A/2 + B/2 however can't ( i think )
12
@feliksporeba5851 I guess i was thinking more about C, where overflow "needs" to be avoided entirely because it's UB
1
@pwhqngl0evzeg7z37 i said note that this can still overflow in general , meaning it can overflow in other circumstances
1
@atk05003 for the second time, "in general" means you're not making assumptions!
1
@brianb2308 In C it doesn't exist (unfortunately). It will in C2x, but that's not out yet
1