On Wed, 2008-03-05 at 12:43 +0200, Shachar Shemesh wrote:
> Gilad Ben-Yossef wrote:
> > How about using a binary format which is "compiled" from XML ?
> In this day and age, is it really all that faster? What makes XML hard
> to parse, IMHO, is not the fact that it's text, it's the fact that it's
> hierarchal.
> >
> > You get all the benefits of using XML and no parsing overhead.
> Well, you lose one benefit - it's no longer in a standard parsable, nor
> even textual, format.
Not necessarily.
If you have a converter between XML and your binary format, and make it
available everywhere your application is available, then the messages
would still effectively be available in XML. You'll need also some way
to force people to modify the converter whenever they modify the schema.
Another way is to use one of the serializer/unserializer modules
available in scripting languages such as Python or Perl. This will
transform between your data structure's internal representation and a
binary format.
--- Omer
--
May the holy trinity of $_, @_ and %_ be hallowed.
My own blog is at http://www.zak.co.il/tddpirate/
My opinions, as expressed in this E-mail message, are mine alone.
They do not represent the official policy of any organization with which
I may be affiliated in any way.
WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]