Dekel Tsur <[EMAIL PROTECTED]> writes:

| On Thu, Feb 08, 2001 at 11:07:45AM +0100, Juergen Vigna wrote:
| > > More details: you already get a good memory consumption with just one
| > > 50x50 tabular. Once it is inserted, resident memory goes to 26M.
| > > Insert one character in one cell, and you go to 32M; subsequent
| > > characters in the same cell do not see to change a lot. However,
| > > inserting a character in a second cell brings you to 42M!
| > 
| > Just one word: Undo!
| > 
| > That's the problem. The undo mechanism right now is only able to work
| > in the outermost paragraph so if you change something inside a tabular
| > inset the outermost paragraph has to be duplicated for Undo.
| 
| The memory consumption can be (slightly) reduced by deleting the line
|  text.reserve(500)

Perhaps we should just remove this, I don't think it buys us much.
Anybody care to run some tests?

OTOH by using the reserve we are likely to use _less_ memory on
paragraphs close to ~500 characters.

        Lgb

Reply via email to