From: Erik V. <eri...@xs...> - 2010-01-14 21:55:00
|
That would go to another extreme... XML parsing is not *that* slow, and XML is at least readable. Erik. _____ From: John A. Tamplin [mailto:ja...@ja...] Sent: Wednesday 13 January 2010 20:39 To: Development list for Rails: an 18xx game Subject: Re: [Rails-devel] Tiles.xml, TileSet.xml, and svg files On Wed, Jan 13, 2010 at 1:51 PM, Rick Westerman <wes...@pu...> wrote: Once again I hesitate to make suggestions when I am not going to implement them and may not know what I am talking about ... however ... during the compile into a jar could the global Tiles file be converted into a Java-friendly format that is quick to read and parse? That way when the program actually runs it just picks up the pre-formatted data and does not need to do XML parsing. The fastest to load would be serialized Java objects, and you can load the entire object graph at once. -- John A. Tamplin |