Andre Poenitz wrote:

> So instead of 12 lines of straightforward code we use of 26 lines of
> ridiculously complex code that _needs to explained_(!) in 9 more lines.
> 
> Moreover, this completely unnecessary use of <boost/bind.hpp>,
> <algorithm> and <functional> adds 172725 lines to a full compilation
> of LyX.
> 
> That's exactly the kind of bullshit that's making LyX a bloated mess.

boost::next!

Ooops, I mean, 

+1!









PS: OTOH, find_if seems to be one of these rare cases that are
embarrassingly parallel that could be magically made k times faster in a
k-core by a smart compiler. Though I don't know if those promesses will
ever be true, nor if in this case a speedup is really important...

A/



Reply via email to