Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting value from Binary field
Message
From
28/01/2014 08:31:22
 
 
To
28/01/2014 00:48:10
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01592445
Message ID:
01592481
Views:
33
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform