Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP inlist() in c#
Message
De
03/10/2008 11:18:19
 
 
À
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:
01352580
Vues:
43
Thanks for the link Tracy. He sure seems to indicate that there are no performance problems, although as Viv mentioned, he doesn't show the code he used for his benchmark test.

I'll have to see if I can find any other articles about performance.

~~Bonnie



>>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
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform