Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP inlist() in c#
Message
From
02/10/2008 08:10:05
 
 
To
02/10/2008 07:59:12
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01320903
Message ID:
01352224
Views:
49
>>Hi,
>>
>>>Has anyone had any "real-life" experience using Extention methods who can say whether there's a performance issue with them or not?
>>
>>I don't really know. But I think the compiler just treats it as a call to the static method (passing the instance as a parameter) so I don't see why it would impact speed at runtime.
>>
>>Best,
>>Viv
>
>Is this an accurate example?
>
>http://computeroverlord.tumblr.com/post/44787130/performance-method-calls-vs-extension-method-calls
>Code:
>http://computeroverlord.tumblr.com/post/44785300/find-deeply-nested-child-objects-in-any-container-with-r

Hi,

Hard to say. Unless I missed something he only shows the code for the extension method itself - not the code used to test it.

Best,
Viv
Previous
Reply
Map
View

Click here to load this message in the networking platform