On Mon, Sep 18, 2006 at 12:45:25PM +0200, Abdelrazak Younes wrote:
> Jean-Marc Lasgouttes wrote:
> >>>>>>"Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes:
> >
> >Abdelrazak> Don't you think that this is a waste of CPU cycles? The
> >Abdelrazak> update machinery is done anyway because this
> >Abdelrazak> LyXText::setLayout() method is called only twice in two
> >Abdelrazak> LFUNs in text3.C: LFUN_FLOAT_LIST and LFUN_LAYOUT.
> >
> >Considering the amount of CPU cycles that may be wasted here
> >(negligible), we should choose the solution which leads to the safest
> >and easier to understand code, and not worry about performance.
> 
> Well, I don't think it is any easier to understand. Have you tried to 
> run LyX step by step through a debugger?

None of the old hats evr had simply because 'stepping through lots of
code in the debugger' is not exactly encouraged by e.g. gdb.

Andre'

Reply via email to