[Mono-dev] serialization of structured data in ArrayList
Jonathan Pryor
jonpryor at vt.edu
Mon Dec 19 19:13:01 EST 2005
On Mon, 2005-12-19 at 14:26 +0100, mirek wrote:
> 1. it is good to use xml serialization or binary? as i read the
> articles, the binary is faster, but maybe not so usefull when need to
> change the configuration file by my own.
If it's not performance critical, I would suggest going with the more
easily debugged solution, in this case XML serialization.
> 2. in this case (of this example code) - is it better to use structure
> Car or class Car?
If you're using ArrayList, use a class, not a structure, since then you
won't have extra boxing/unboxing overhead.
- Jon
More information about the Mono-devel-list
mailing list