I'm trying to serialize data that's about 30KB and I need to find a faster way to serialize/deserialze the data. For me speed is as important as size so either I find a way to compact the data more tightly or I need to have a faster mechanism to build the objects. I've tried building some custom methods for it as well as using the built in serialization methods but I'm hoping that someone out there has some experience with this.
In my app milliseconds do count so speed is fine compared with size especially since some object may be quite large.
EDIT
The data is an object with numerous properties on it including a dictionary and a number of ints and string fields. Assume a complex mesh.
So I made this for an example which gives you a bit of an idea of what the relationships in the object might look like.
<Serializable()> Class A
Inherits B
Dim _C As New C
Dim E As Byte()
End Class
<Serializable()> Class B
Dim A As Int32
Dim B As Dictionary(Of String, Object)
End Class
<Serializable()> Class C
Dim A As Int32
Dim D As String
End Class
Of course there are also accessors for the fields but that shouldn't impact this.