Aug
19
comment Can Google glog notify the application of full disk?
@simon regardless of how the flag is set, google glog does not either throw an exception or provide any data through the failure signal handler.
Aug
14
comment Can Google glog notify the application of full disk?
@simon I believe the flag you suggested actually causes the above behavior. You may simply lose messages without the flag set.
Aug
13
awarded Yearling
Aug
13
comment Can Google glog notify the application of full disk?
I haven't experienced a full disk with the signal handle registered, but the typical response by glog appears to be to hold the logs for writing once disk space becomes available.
Aug
13
comment Can Google glog notify the application of full disk?
@simon Is there a signal handler for full disk? All I see in that link is the "Failure Signal Handler" which, since glog doesn't seem to think of full disk as an error, I'm not thinking would fire.
Aug
13
asked Can Google glog notify the application of full disk?
Aug
13
accepted Why is this recursion so much faster than equivalent iteration?
Aug
13
awarded Supporter
Jul
26
comment Why is this recursion so much faster than equivalent iteration?
Wow. That's really cool. Thank you for this answer, it is exactly what I was looking for. I'm surprised gcc optimized the recursive version so much better, but at least I now know what it did.
Jul
26
revised Why is this recursion so much faster than equivalent iteration?
added 342 characters in body
Jul
26
comment Why is this recursion so much faster than equivalent iteration?
@Roman Adding those flags had an extremely surprising effect: gist.github.com/PatrickAupperle/3a87eb53a9f11c1f0bec Still a big difference, though. And still favoring recursion. Way faster, though.
Jul
26
comment Why is this recursion so much faster than equivalent iteration?
@Cheersandhth.-Alf I thought about that, but 25 lines of output in 25 seconds should do almost nothing. Also, both sets have the same exact output.
Jul
26
comment Why is this recursion so much faster than equivalent iteration?
@BenVoigt I am curious about this particular code. The speed is meaningless to me, but the difference is intriguing.
Jul
26
revised Why is this recursion so much faster than equivalent iteration?
added 232 characters in body
Jul
26
revised Why is this recursion so much faster than equivalent iteration?
added 3 characters in body
Jul
26
revised Why is this recursion so much faster than equivalent iteration?
deleted 13 characters in body
Jul
26
revised Why is this recursion so much faster than equivalent iteration?
added 149 characters in body
Jul
26
asked Why is this recursion so much faster than equivalent iteration?
Apr
29
comment Integer not comparing equal to its value
That is very interesting. It does make sense.
Apr
29
accepted Integer not comparing equal to its value
1 2 3 4 5