Subject: Re: [linux-audio-dev] storing floats in ascii format
From: Steve Harris (S.W.Harris_AT_ecs.soton.ac.uk)
Date: Thu May 16 2002 - 18:08:47 EEST
On Thu, May 16, 2002 at 03:41:47 +0200, Maarten de Boer wrote:
> Storing large arrays of floats in XML files is very
> unefficient when it comes to space. Where in a binary
> format each float would contain only 4 bytes, in a
> ASCII format this number much bigger.
If you are worried about space, and want to encode things in a machine
specific, binary format, then you probably shouldn't be using XML.
You can always gzip the resulting XML file.
FWIW, SOAP uses ASCII to represent floats.
- Steve
This archive was generated by hypermail 2b28 : Thu May 16 2002 - 18:06:22 EEST