Re: XML Serialization Speed

2009-01-26 Thread Taylor
Russ, great comments. Yes, I'm speaking execution time, and I have a feeling you're right. Premature optimization happens to be a problem of mine (One that my girlfriend wishes I could correct... oh, wait,nevermind). I think this was just one of those sanity-check questions, sending out a feele

Re: XML Serialization Speed

2009-01-26 Thread Russell Keith-Magee
On Tue, Jan 27, 2009 at 12:35 AM, Taylor wrote: > > Okay, that makes sense. Thanks for the link to Python timing! > > Can anyone familiar with the internals of django's serialization and > templating offer any suggestions? My suggestion is this: Try it. I can't say I've ever done a comparative

Re: XML Serialization Speed

2009-01-26 Thread Taylor
Okay, that makes sense. Thanks for the link to Python timing! Can anyone familiar with the internals of django's serialization and templating offer any suggestions? Thanks! On Jan 26, 2:57 am, Antoni Aloy wrote: > 2009/1/26 Taylor : > > > > > I'm thinking of changing my views so that they wor

Re: XML Serialization Speed

2009-01-25 Thread Antoni Aloy
2009/1/26 Taylor : > > I'm thinking of changing my views so that they work with XSLT and an > XML representation of my data. I see 3 options: > 1. Use django's xml serializer. > 2. Use python's xml tools to make my own XML. > 3. Use django's template systems to drop my data into xml. Like so: >

XML Serialization Speed

2009-01-25 Thread Taylor
I'm thinking of changing my views so that they work with XSLT and an XML representation of my data. I see 3 options: 1. Use django's xml serializer. 2. Use python's xml tools to make my own XML. 3. Use django's template systems to drop my data into xml. Like so: {{ monster.hp }} ... My questi