On 2013-02-28 15:31, Steven Schveighoffer wrote:

while(!r.empty)  // inlined to r.front != 0
{
    switch(r.front) // why would another load occur here?
    {
       // no need to check for 0, already done
       ...
    }
}

Don't you have to check for 0 anyway. You could still have more data in the buffer? I doesn't have to be the manually added sentential that is encountered.

--
/Jacob Carlborg

Reply via email to