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

Re: [T-Merge patch] syncing code for views

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Sun, 10 Apr 2011 11:14:15 +0200

On 09.04.2011 21:54, Oto BREZINA wrote:

>> It's not a performance issue but a code size issue. The switch-case
>> statement is converted into a jump table, and if the values are far
>> apart, that jump table gets really big. And we have to trust the
>> optimizer to decide in such cases that a jump table isn't the right
>> thing to do but better convert the switch-case to if-else statements.

> I would say numbers are from big range right now:
> ID_EDIT_COPY and ID_EDIT_PASTE are 0xE122 and 0xE125 respectively.
> http://msdn.microsoft.com/en-us/library/dd941781%28v=vs.85%29.aspx - may
> be not a relevant source I have seen lot of other values, but this one
> is MSDN.
> But I'm looking for other solution..

Those values are not fixed but are assigned automatically by the
resource editor. And I don't like to have to check the assigned values
every time I add a new string.


   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-04-10 11:14:32 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.