>>>>> "Abdel" == Abdel  <[EMAIL PROTECTED]> writes:

Abdel> I have compiled this file with -O3 but the slowness is still
Abdel> there. Indeed insertion inside a vector is known to be
Abdel> inefficient. I have read the history about ParagraphList_fwd.h
Abdel> 
(http://www.lyx.org/cgi-bin/viewcvs.cgi/lyx-devel/src/ParagraphList_fwd.h)
Abdel> and I guess there might be some valid reason to choose a vector
Abdel> instead of a list but performance wise, it shows, definitely. 

You may want also to read this thread about all the problems that
vector creates. I really think we shall get rid of it somehow, but it
should be in a transparent manner. I guess what we need is a vector of
pointers that emulates the vector<> behaviour.

JMarc

Reply via email to