>>>>> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes:

Andre> On Wed, Mar 13, 2002 at 11:00:30AM +0100, Jean-Marc Lasgouttes
Andre> wrote: Concerning the excessive memory consumption: I believe
Andre> that one could reduce it significantly by converting parts 'far
Andre> from the cursor' (i.e not the same word or the same line or
Andre> paragraph) to some more compact form where chars of the same
Andre> font are collected in some kind of 'string inset'...
>>  Are you speaking about the normal paragraph structure? I do not
>> see what could be more compact than the FontTable approach.

Andre> 'Excessive memory consumption when using mathed's approach
Andre> without any change'. The current FontTable approach is indeed
Andre> pretty compact, but I have the suspicion that it is more code
Andre> involved than necessary for the task as such...

In fact, a cursor (or rather an iterator over a paragraph) could 
maintain an index in the fonttable for the current cur position.

JMarc

Reply via email to