On Friday, November 09, 2012 14:52:20 deadalnix wrote:So my question is, how this duplication can be avoided ? If it can, .peekFront is definitively the way to go. But if it can't, this seemslike a really problematic point.In most cases, it still won't be a problem. How much in the way of code is generally in front?
Quite a ton, if it's calculated lazily.