Login | Register
My pages Projects Community openCollabNet

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

Project highlights: :. Download .: :. Support .: :. FAQ .: :. Translations .: :. Donate .: :. Report Bug .:

tortoisesvn
Discussion topic

Back to topic list

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

Author steveking
Full name Stefan Küng
Date 2011-04-10 02:14:27 PDT
Message 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.microsof​t.com/en-us/library/​dd941781%28v=vs.85%2​9.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.

Stefan


--
        ___
   oo // \\ "De Chelonian Mobile"
  (_,\/ \_/ \ TortoiseSVN
    \ \_/_\_/> The coolest Interface to (Sub)Version Control
    /_/ \_\ http://tortoisesvn.net

« Previous message in topic | 21 of 27 | Next message in topic »

Messages

Show all messages in topic

                     Re: [T-Merge patch] syncing code for views steveking Stefan Küng 2011-04-10 12:35:07 PDT
                         Re: [T-Merge patch] syncing code for views otik Oto BREZINA 2011-04-10 12:44:39 PDT
Page: of 2 « Previous | Next »
Messages per page: