Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting value from Binary field
Message
De
28/01/2014 08:31:22
 
 
À
28/01/2014 00:48:10
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01592445
Message ID:
01592481
Vues:
43
>Can be optimized
>
>(1) use a static array string[256] with the hex values of all the byte values
>
>(2) Then you have only one instance of the stringbuilder
>
>For this, two scenarios - depends on the usage ( and both need some testing to decide which one to use)
>
>(a) if used in a loop for many conversions in succession
>Instantiate the class, the stringbuilder is an instance member
>
>(b) use a static stringbuilder
>Then you will need a locking mechanism

Thanks
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform