Andre Poenitz wrote:
On Fri, Oct 27, 2006 at 11:13:45AM +0200, Jean-Marc Lasgouttes wrote:
"Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes:
Also, we can probably use something better than a map (I'm sure qt
has nice hash tables) to store metrics.
Abdelrazak> Or Andre's vector solu
On Fri, Oct 27, 2006 at 11:13:45AM +0200, Jean-Marc Lasgouttes wrote:
> > "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes:
>
> >> Also, we can probably use something better than a map (I'm sure qt
> >> has nice hash tables) to store metrics.
>
> Abdelrazak> Or Andre's vector solu
On Fri, Oct 27, 2006 at 11:13:45AM +0200, Jean-Marc Lasgouttes wrote:
> > "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes:
>
> >> Also, we can probably use something better than a map (I'm sure qt
> >> has nice hash tables) to store metrics.
>
> Abdelrazak> Or Andre's vector solu
Am Samstag, 28. Oktober 2006 15:44 schrieb Jean-Marc Lasgouttes:
> > "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes:
>
> Abdelrazak> En direct tu peux me parler en Francais si tu veux :-)
>
> Je préfère continuer sur la liste pour que les autres puissent
> intervenir (ai je répo
Jean-Marc Lasgouttes wrote:
"Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes:
Abdelrazak> En direct tu peux me parler en Francais si tu veux :-)
Je préfère continuer sur la liste pour que les autres puissent
intervenir (ai je répondu en direct par erreur?)
Ouep.
Abdelrazak> Bac
Jean-Marc Lasgouttes wrote:
"Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes:
Abdelrazak> There was no such trick. Andre proposed to limit the cache
Abdelrazak> to the first 256 chars. I pushed that to 65536 (2^16)
Abdelrazak> which covers all of ucs2. Even if we use 100 different
A
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes:
Abdelrazak> En direct tu peux me parler en Francais si tu veux :-)
Je préfère continuer sur la liste pour que les autres puissent
intervenir (ai je répondu en direct par erreur?)
Abdelrazak> Back to English, yes I understand wha
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes:
Abdelrazak> There was no such trick. Andre proposed to limit the cache
Abdelrazak> to the first 256 chars. I pushed that to 65536 (2^16)
Abdelrazak> which covers all of ucs2. Even if we use 100 different
Abdelrazak> fonts and size
Abdelrazak Younes wrote:
Jean-Marc Lasgouttes wrote:
"Abdelrazak" == Abdelrazak Younes
<[EMAIL PROTECTED]> writes:
Do we really want to use a vector to cache unicode data?
Abdelrazak> No, a vector to cache width (int) data. This is to replace
Abdelrazak> the map font width, nothing to do w
[EMAIL PROTECTED] wrote:
Please be more explicit I don't get what you mean here. We should maybe
switch to French... ;-)
You replaced one simple call to get metrics by another one which looks more
complicated. There should bee only one Method (as thre used to be), and
it should do the cach
Jean-Marc Lasgouttes wrote:
"Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes:
Abdelrazak> This one was very helpful Bennett, thank you. I cannot do
Abdelrazak> much about the drawText() operation as this is Qt API but
Abdelrazak> I have changed the next line that occupied 6 second t
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes:
Abdelrazak> This one was very helpful Bennett, thank you. I cannot do
Abdelrazak> much about the drawText() operation as this is Qt API but
Abdelrazak> I have changed the next line that occupied 6 second to use
Abdelrazak> the fon
Bennett Helm wrote:
On Oct 26, 2006, at 2:32 PM, Bennett Helm wrote:
On Oct 26, 2006, at 3:40 AM, Abdelrazak Younes wrote:
...
As you can see in the second line, QLPainter::text() take the most
time. This is not surprising but the following lines between this
node an the following node at
Bennett Helm wrote:
On Oct 26, 2006, at 3:40 AM, Abdelrazak Younes wrote:
As you can see in the second line, QLPainter::text() take the most
time. This is not surprising but the following lines between this node
an the following node at the same level (LyXText::getFont()) don't
make the sum.
On Friday 27 October 2006 10:38 am, Jean-Marc Lasgouttes wrote:
> That was my question: isn't the font supposed to have 2^16 (2^32?)
> characters?
I think that the present unicode standard is set for 2^21 (and presently we
only have defined ~ 100 000 chars).
This is just for the record, it i
Jean-Marc Lasgouttes wrote:
"Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes:
Do we really want to use a vector to cache unicode data?
Abdelrazak> No, a vector to cache width (int) data. This is to replace
Abdelrazak> the map font width, nothing to do with unicode.
How large w
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes:
>> Do we really want to use a vector to cache unicode data?
Abdelrazak> No, a vector to cache width (int) data. This is to replace
Abdelrazak> the map font width, nothing to do with unicode.
>> How large will this vector be?
A
Jean-Marc Lasgouttes wrote:
"Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes:
Also, we can probably use something better than a map (I'm sure qt
has nice hash tables) to store metrics.
Abdelrazak> Or Andre's vector solution. I'll check it out.
Do we really want to use a vector t
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes:
>> Also, we can probably use something better than a map (I'm sure qt
>> has nice hash tables) to store metrics.
Abdelrazak> Or Andre's vector solution. I'll check it out.
Do we really want to use a vector to cache unicode data?
Jean-Marc Lasgouttes wrote:
"Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes:
Bennett> One more bit of information that might be useful: Shark can
Bennett> show the amount of time specific lines of code use. Here is
Bennett> what it shows in the relevant bit of QLPainter.C:
Abdel, this sho
> "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes:
Bennett> One more bit of information that might be useful: Shark can
Bennett> show the amount of time specific lines of code use. Here is
Bennett> what it shows in the relevant bit of QLPainter.C:
Abdel, this shows that metrics computati
On Oct 26, 2006, at 2:32 PM, Bennett Helm wrote:
On Oct 26, 2006, at 3:40 AM, Abdelrazak Younes wrote:
...
As you can see in the second line, QLPainter::text() take the most
time. This is not surprising but the following lines between this
node an the following node at the same level (LyX
On Oct 26, 2006, at 3:40 AM, Abdelrazak Younes wrote:
Bennett Helm wrote:
Well, here is a profile for Mac. I created a new document with
enough text to fill the screen, placed the (invisible) cursor in
the middle of the screen, started profiling and typed at a brisk
pace for 30 seconds. (A
Bennett Helm wrote:
Well, here is a profile for Mac. I created a new document with enough
text to fill the screen, placed the (invisible) cursor in the middle of
the screen, started profiling and typed at a brisk pace for 30 seconds.
(As I type this, LyX is still churning away displaying what I
24 matches
Mail list logo