Click here to Skip to main content
15,888,113 members
Home / Discussions / C#
   

C#

 
QuestionExpand/collapsable data grid view for .NET 2.0 Pin
vankayalapati7-Sep-08 18:25
vankayalapati7-Sep-08 18:25 
AnswerRe: Expand/collapsable data grid view for .NET 2.0 Pin
Manas Bhardwaj9-Sep-08 5:33
professionalManas Bhardwaj9-Sep-08 5:33 
GeneralRe: Expand/collapsable data grid view for .NET 2.0 Pin
vankayalapati9-Sep-08 17:11
vankayalapati9-Sep-08 17:11 
QuestionDirectInput with mouse help Pin
Fudge Mutator7-Sep-08 17:49
Fudge Mutator7-Sep-08 17:49 
QuestionManagementclass Pin
Mycroft Holmes7-Sep-08 17:19
professionalMycroft Holmes7-Sep-08 17:19 
AnswerRe: Managementclass Pin
N a v a n e e t h7-Sep-08 18:29
N a v a n e e t h7-Sep-08 18:29 
AnswerRe: Managementclass - idiot Pin
Mycroft Holmes7-Sep-08 20:51
professionalMycroft Holmes7-Sep-08 20:51 
Questionreflection method Pin
George_George7-Sep-08 17:04
George_George7-Sep-08 17:04 
Hello everyone,


Sometimes I saw code which does not store reflection data structure MethodInfo, but stores MethodHandle each time and converts MethodHandle to MethodInfo (using GetMethodFromHandle) when MethodInfo is used to invoke the specific method using reflection.

My understanding is,

1. Using method handle could save memory;
2. But each time doing conversion from method handle to method info uses additional time.

So, it is a memory footprint/performance trade-off of choosing method info and method handle.

My questions is whether my above understanding of whether to use method handle or method info is correct. If not, what are the correct points?


thanks in advance,
George
Questionusing reflection to invoke a method Pin
George_George7-Sep-08 16:16
George_George7-Sep-08 16:16 
AnswerRe: using reflection to invoke a method Pin
PIEBALDconsult7-Sep-08 16:36
mvePIEBALDconsult7-Sep-08 16:36 
GeneralRe: using reflection to invoke a method Pin
George_George7-Sep-08 16:50
George_George7-Sep-08 16:50 
AnswerRe: using reflection to invoke a method Pin
N a v a n e e t h7-Sep-08 18:23
N a v a n e e t h7-Sep-08 18:23 
GeneralRe: using reflection to invoke a method Pin
George_George7-Sep-08 18:31
George_George7-Sep-08 18:31 
GeneralRe: using reflection to invoke a method Pin
N a v a n e e t h7-Sep-08 18:41
N a v a n e e t h7-Sep-08 18:41 
GeneralRe: using reflection to invoke a method Pin
George_George7-Sep-08 18:47
George_George7-Sep-08 18:47 
GeneralRe: using reflection to invoke a method Pin
N a v a n e e t h7-Sep-08 19:03
N a v a n e e t h7-Sep-08 19:03 
GeneralRe: using reflection to invoke a method Pin
George_George7-Sep-08 20:57
George_George7-Sep-08 20:57 
GeneralRe: using reflection to invoke a method Pin
George_George10-Sep-08 0:23
George_George10-Sep-08 0:23 
QuestionHow Pin
Silvyster7-Sep-08 15:07
Silvyster7-Sep-08 15:07 
AnswerRe: How Pin
Anthony Mushrow7-Sep-08 23:00
professionalAnthony Mushrow7-Sep-08 23:00 
QuestionChanging image size ? Pin
Mohammad Dayyan7-Sep-08 12:31
Mohammad Dayyan7-Sep-08 12:31 
AnswerRe: Changing image size ? Pin
N a v a n e e t h7-Sep-08 18:36
N a v a n e e t h7-Sep-08 18:36 
QuestionString Obfusication cause program not to work. Pin
Buckleyindahouse7-Sep-08 11:11
Buckleyindahouse7-Sep-08 11:11 
AnswerRe: String Obfusication cause program not to work. Pin
Mbah Dhaim7-Sep-08 11:34
Mbah Dhaim7-Sep-08 11:34 
AnswerRe: String Obfusication cause program not to work. Pin
#realJSOP7-Sep-08 23:53
mve#realJSOP7-Sep-08 23:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.