On 2/27/2013 9:20 PM, deadalnix wrote:If the range define empty with something like front == sentinel, the inlinershould kick in a reduce the whole stuff to only one read, no ?auto c = front; if (c == sentinel || c == XX)is two reads. This may not seem important, but when you want high speed, it can halve it.
Don't you have to check for both all the time ? You have to check for the sentinel anyway.
