Re: Insets Data Structure

2007-06-19 Thread Joost Verburg
Dov Feldstern wrote: Yeah, I don't know. I'm just basing this on the comment above. But I can't imagine that there are anywhere near 32-bits worth of unicode symbols... The Unicode standard defines that it has 21-bit code points, so there are 11 bits left that can be used. This number will no

Re: Insets Data Structure (was: Re: 20% speedup of paragraph redraw with simple patch)

2007-06-18 Thread Andre Poenitz
On Mon, Jun 18, 2007 at 10:41:54PM +0200, Alfredo Braunstein wrote: > Dov Feldstern wrote: > > > Why do we need that structure at all? Given that our char_type is > > 32-bits, and we don't use all 32, we could do something like the > > following: the insets themselves could be stored in a hash tab

Re: Insets Data Structure (was: Re: 20% speedup of paragraph redraw with simple patch)

2007-06-18 Thread Alfredo Braunstein
Dov Feldstern wrote: > Why do we need that structure at all? Given that our char_type is > 32-bits, and we don't use all 32, we could do something like the > following: the insets themselves could be stored in a hash table, > without storing their positions in that structure. At each position in >

Re: Insets Data Structure

2007-06-18 Thread Dov Feldstern
Abdelrazak Younes wrote: Dov Feldstern wrote: Jean-Marc Lasgouttes wrote: "Dov" == Dov Feldstern <[EMAIL PROTECTED]> writes: Dov> Hmm, I just came across this yesterday when trying to figure out Dov> what was going on with bug 3011, and wondered about it. I'm not Dov> sure if this is what yo

Re: Insets Data Structure

2007-06-18 Thread Andre Poenitz
On Mon, Jun 18, 2007 at 09:50:03AM +0200, Abdelrazak Younes wrote: > Dov Feldstern wrote: > >Jean-Marc Lasgouttes wrote: > >>>"Dov" == Dov Feldstern > >>><[EMAIL PROTECTED]> writes: > >> > >> > >>Dov> Hmm, I just came across this yesterday when trying to figure out > >>Dov> what was going

Re: Insets Data Structure

2007-06-18 Thread Abdelrazak Younes
Dov Feldstern wrote: Jean-Marc Lasgouttes wrote: "Dov" == Dov Feldstern <[EMAIL PROTECTED]> writes: Dov> Hmm, I just came across this yesterday when trying to figure out Dov> what was going on with bug 3011, and wondered about it. I'm not Dov> sure if this is what you mean or not, but it migh

Insets Data Structure (was: Re: 20% speedup of paragraph redraw with simple patch)

2007-06-17 Thread Dov Feldstern
Jean-Marc Lasgouttes wrote: "Dov" == Dov Feldstern <[EMAIL PROTECTED]> writes: Dov> Hmm, I just came across this yesterday when trying to figure out Dov> what was going on with bug 3011, and wondered about it. I'm not Dov> sure if this is what you mean or not, but it might be relevant... Dov>