By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,984 Members | 1,057 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,984 IT Pros & Developers. It's quick & easy.

Performance hit for using 'Me.'

P: n/a
This is probably a stupid question, but from within a class, is there any
type of performance hit for useing 'Me' in front of every function call and
property name?

Thanks.

STom
Nov 21 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
I believe that is irrelevant to the size of the object code/final product.
Stay tuned if someone has something else to say on the issue.

"TheNortonZ" <th********@hotmail.com> wrote in message
news:eD**************@TK2MSFTNGP12.phx.gbl...
This is probably a stupid question, but from within a class, is there any
type of performance hit for useing 'Me' in front of every function call and
property name?

Thanks.

STom

Nov 21 '05 #2

P: n/a
We had a discussion about this a few days ago (week) and it was pretty clear
that it does not. When it compiles down into the IL code you won't see the
diffference.

Chris
"TheNortonZ" <th********@hotmail.com> wrote in message
news:eD**************@TK2MSFTNGP12.phx.gbl...
This is probably a stupid question, but from within a class, is there any
type of performance hit for useing 'Me' in front of every function call
and property name?

Thanks.

STom

Nov 21 '05 #3

P: n/a
No, it doesn't make any difference.

"TheNortonZ" <th********@hotmail.com> wrote in message
news:eD**************@TK2MSFTNGP12.phx.gbl...
This is probably a stupid question, but from within a class, is there any
type of performance hit for useing 'Me' in front of every function call and
property name?

Thanks.

STom

Nov 21 '05 #4

P: n/a
"TheNortonZ" <th********@hotmail.com> schrieb:
This is probably a stupid question, but from within a class, is there any
type of performance hit for useing 'Me' in front of every function call
and property name?


No.

You can check that using "ILDASM.EXE".

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 21 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.