>>>>> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:

Jean-Marc> More details: [...]

OK, even more details: I ran the following experiments with three
different lyx versions (1.2.0cvs, 1.2.0cvspatched, 1.0.3). 1.2.0cvs is
with paragraph size reservation suppressed, 1.0.3 is the only
old-style version I had around.

The steps are

1/ Launch LyX
2/ Insert a 50x50 table
3/ move the cursor in and out of the table a few times (I'm not sure I
did it the same number of times in the two cases)
4/ insert two 'a' in cell (1,1) and in cell (1,2)

I looked at memory consumption using top. The numbers concern the
total size of the process (I could use resident size, but the growth
is of course the same).

Step    1.2.0cvs     1.2.0cvspatched    1.0.3
1        1M             1M              7856K
2       26M             25M             8096K   
3       41M             39M             n/a
4       52M             50M             8552K

Step 2 tells us that we have a cost per cell of about 10k for a
tabular. This seems a very high number to me. Step 3 is more
interesting: by the simple fact of entering and leaving a textinset,
there is a very large increase of used memory. Does this go into
TextCache, or somewhere else?

Finally, the effect of undo seems to be important, but it might also
be caused by the same as 3/.

Thoughts?

JMarc

PS: and of course old tables were much much lighter :(

Reply via email to