>>>>> "Juergen" == Juergen Vigna <[EMAIL PROTECTED]> writes:

Juergen> On 30-Nov-2001 Jean-Marc Lasgouttes wrote:

>> On the other hand, VSpace::VSpace takes 38% of the total time to
>> load/display this file! This is because langths are stored as
>> strings and converted whenever something needs to be done (at each
>> getMaxWidthOfCell, for example). Is there a reason for doing that
>> instead of storing a VSpace (or rather LyXLength, I guess) in the
>> tabular?

Juergen> Hmmm I guess not it's just easier to handle. Could you make
Juergen> some tests if changing this to a LyXLength changes something
Juergen> in execution speed?

I'll try that next week. At least we are saving those pesky 38%, and
conversion will only need to be done when reading/writing files and in
the tabular layout dialog. There may also be a modest price in terms
of space (float+enum instead of string), but we do not care, do we?

JMarc

Reply via email to