Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP inlist() in c#
Message
De
02/10/2008 08:10:05
 
 
À
02/10/2008 07:59:12
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01320903
Message ID:
01352224
Vues:
46
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform