[protobuf] Re: Avoid attributes/ Cyclic support

2010-05-04 Thread Fabio Maulo
I can't ignore you ;) What I mean is exactly a independent metadata. Something like Serializer.SerializeT(Stream dataStream, T object, IDictionaryType, SerializerMetaData metaHolder); Because protobuf-net supports different set of meta-data (embedded, DataContract and so on) the most easy way

Re: [protobuf] Re: Avoid attributes/ Cyclic support

2010-05-04 Thread Marc Gravell
Oh, I should also add that BinaryFormatter is slow(er) and uses more bandwitdh (very important when IO is your biggest bottleneck). This is based on v1: http://www.servicestack.net/benchmarks/NorthwindDatabaseRowsSerialization.100-times.2010-02-06.html

[protobuf] Re: Avoid attributes/ Cyclic support

2010-05-04 Thread Fabio Maulo
LOL!! I know Marc, I know... at this moment the dll version is not the problem and the DocumentSerializer is injectable. What I need is an efficient, high speed but overall not invasive and supporting cyclic reference serializer. Cyclic as: Parent IEnumerableChild Children Child Parent Parent