[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: TMerge very slow wit h UTF-16LE files

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Fri, 12 Jun 2009 18:31:18 +0200

Kurt Pruenner wrote:
> Stefan Küng wrote:
>> I could improve the speed when drawing such long lines a lot, but even
>> with that improvement it's still slow (but it's now actually usable
>> again). The problem is that the lines in your test files are very long
>> and they have some non-standard chars, which makes the ExtTextOut() API
>> very slow. I've compared the drawing speed with two other text editors,
>> and they are not much faster than TMerge now.
>>
>> Improved the speed in r16577.
>
> Seems like ExtTextOut is horrible in almost any case:
>
> http://www.virtualdub.org/blog/pivot/entry.php?id=247
>

Yes I know, but we need to use ExtTextOut because it is able to use font
substitution for special chars. If we would use the DrawText() API
instead, it would be faster but special chars would show up as empty
rectangles.

Stefan

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2361676
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].

Received on 2009-06-12 18:31:32 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.