> Andre> Small changes in order to reduce include file dependency. The
> Andre> "most intrusive" parts are "localized typedefs" for
> Andre> Paragraph::size_type plus some whitespace changes (mostly
> Andre> spaces -> tab for indentation)
> 
> I do not really like the changes to Paragraph::size_type. This means
> that we have several places where the same information is duplicated.
> This is not very robust IMO. Do you have an estimate of the compile
> time you gain by this? 

5 seconds on a full recompile time of 13 minutes... Not exactly rocket
science, but note that the main win stems from less dependencies when you
do small changes to _one_ file that is high up in the tree, not when
recomipiling everything. You do not expect a full analysis, do you?

> What about a header file lyxtypes.h like
> 
> #include<vector>
> 
> namespace lyx {
>   typedef vector<char> paragraph_type;
> }
> 
> and other types too, that woulf be included whenever needed?

That's ok. That's better, actually.

Andre'


-- 
André Pönitz .............................................. [EMAIL PROTECTED]

Reply via email to