octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GUI work (was: Graphical help browser)


From: Przemek Klosowski
Subject: Re: GUI work (was: Graphical help browser)
Date: Wed, 28 Jan 2009 11:50:02 -0500 (EST)

John asked:

   Does XML do a good job for large amounts of binary data (like a large
   double precision floating point array, which is something that is
   common in Octave)?  If not, then I'm not sure it's really a good choice.

We can always pull a Microsoft, and write base64-encoded opaque data
in XML.  Several different opaqueness levels might be:

 - direct dump of the in-memory octave data object 

     <octaveData content="ab1231aef498....500MB of hex..1389"/>

 - encoding of the disk octave file format

 - something more non-octave-specific like:

    <octaveArray 
     name="mydata" 
     type="double" 
     dimension="3"
     size="11 12 13"
     encoding="base64">
      c452ca6a0901231130v6c3a1e22y441a6596e6063cb6
      128f38bd0811251501p4ed6d20do5c43863caa75aa72
    </octaveArray>

The large array read/write speed of all those choices should be about
the same.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]