Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Array.Copy vs. Buffer.BlockCopy
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01295441
Message ID:
01295446
Vues:
13
>Which is faster/better/recommended?
>I have been using Array.Copy for years to copy part of a byte array (byte[]), but someone told me that Buffer.BlockCopy is faster/better for this.
>The method signatures are identical.
>Does anyone else in here have a preference?

http://danielvl.blogspot.com/2004/04/use-bufferblockcopy-instead-of.html
Semper ubi sub ubi.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform