Re: Fastest way to convert an object to a string

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Buddy Home <BuddyHome@xxxxxxxx> wrote:
By class consists of Hashtable, strings, integers and double.

We are using Serialization because of the Hashtable.

Any other ideas?

Just because it's using a hashtable doesn't mean you can't do the
conversion to a string yourself. It will require some care, but that
doesn't mean it's not possible.

What type of object does the hashtable contain, for both keys and
values?

--
Jon Skeet - <skeet@xxxxxxxxx>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
.



Relevant Pages

  • Re: 2.6.19 file content corruption on ext3
    ... [Replying to myself - a sure sign that I don't get out enough] ... On Sun, 17 Dec 2006, Linus Torvalds wrote: ... So I don't actually see any serialization at all that would keep a random ...
    (Linux-Kernel)
  • Re: assign byte array to struct or class
    ... Christian Havel wrote: ... *new* instance using serialization. ... See BinaryFormatter for details. ... Jon Skeet - ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: assign byte array to struct or class
    ... *new* instance using serialization. ... See BinaryFormatter for details. ... Jon Skeet - ... World class .NET training in the UK: http://iterativetraining.co.uk ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Fastest way to convert an object to a string
    ... Buddy Home wrote: ... The problem is we are using serialization to convert the ... object to a string, this is costing us performance degrade. ...
    (microsoft.public.dotnet.languages.csharp)