Hi Ranier, > To me this is a contradiction, whether you consider waiting for a segfault or > consider adding an Assert. > For the user it is better to have a log, where he can quickly find the > problem, rather than having to investigate on his own.
That's the point. User's shouldn't encounter this. Thus there is no reason to break branch prediction for everyone here. I agree with Tomas that adding Assert() in fact will not change much. It can serve as a little piece of documentation maybe: "yes we thought about it", that's all. -- Best regards, Aleksander Alekseev