Re: Alternative to DumpSave
- To: mathgroup at smc.vnet.net
- Subject: [mg117033] Re: Alternative to DumpSave
- From: David Bailey <dave at removedbailey.co.uk>
- Date: Tue, 8 Mar 2011 05:35:20 -0500 (EST)
- References: <201103031059.FAA20715@smc.vnet.net> <AANLkTik9tqxP1gCA+TkYdwFK+SiHX4at+8f-nYDtFqxF@mail.gmail.com> <il2dg8$68d$1@smc.vnet.net>
On 07/03/2011 10:54, Thomas Münch wrote: > Thank you all for your replies. > > I have tried the .wdx format, but could not get it to work. I have saved > my data as downvalues of variables ("indexed storage", e.g. > var["1"]=Something, var["2"]=SomethingElse), and not as direct > assignments. I could not find a way that exporting to wdx saved these > assignments. > > Any tips on how to Export or Put to a wdx file properly? > > So I went with Save instead of DumpSave. What surprised me: The > Save[]-ed file is SMALLER than the DumpSave[]-ed file!!! (96 MB vs. 107 > MB). However, it takes much longer to load it back in with Get[] (15 s > vs. 2.5 s). > > thomas > I think you could export DownValues[var] in wdx format, then assign to DownValues[var] the information that you read back with Import. David Bailey http://www.dbaileyconsultancy.co.uk
- References:
- Alternative to DumpSave
- From: Thomas Muench <thomas.muench@gmail.com>
- Alternative to DumpSave