Serializing a ConcurrentBag of XAML

Viewed 1673

I have, in my code, a ConcurrentBag<Point3DCollection>.

I'm trying to figure out how to serialize them. Of course I could iterate through or package it with a provider model class, but I wonder if it's already been done.

The Point3DCollections themselves are potentially quite large and could stand to be compressed to speed up reading and writing to and from the disk, but the response times I need for this are largely in the user interface scale. In other words, I prefer a binary formatting over a XAML-text formatting, for performance reasons. (There is a nice XAML-text serializer which is part of the Helix 3D CodeProject, but it's slower than I'd like.)

Is this a use case where I'm left rolling out my own serializer, or is there something out there that's already packaged for this kind of data?

4 Answers
Related