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

Re: [T-Merge] wrap long lines issues a comments

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Sat, 23 Apr 2011 11:44:10 +0200

On 23.04.2011 10:05, Oto BREZINA wrote:
> On 2011-04-23 09:47, Stefan Küng wrote:
>> On 23.04.2011 09:40, Oto BREZINA wrote:
>>>
>>> On 2011-04-23 09:23, Stefan Küng wrote:
>>>> On 23.04.2011 09:21, Oto BREZINA wrote:
>>>>> On 2011-04-19 22:39, Stefan Küng wrote:
>>>>> What is reason to have m_Screen2Vector copy for every view ? May they
>>>>> differ?
>>>>> I would say they are same so we build and store same 2-3 times.
>>>>>
>>>> They're not the same. Just compare two files, one with only one line,
>>>> the other with 100 lines.
>>> I will, but I gues, that smaller one would have 99 empty lines.
>> Exactly. And the values in the vector are then definitely different.
> Still don't get it. I did test with two files first have just line "1"
> other have 10 line "0"-"9". Compare them.
> As I understand:
> There will be m_pViewData for both views with same size (different data
> of course).

Right. I remember that I was thinking of using just one vector instead
of three. But I don't remember why I didn't do it.
I've done some testing and it seems the three vectors really are
identical in all situations I tested.
So I'd say if you want, you can try and use a global vector instead of
three.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2723066
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-04-23 11:44:19 CEST

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

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