Let us assume that I need to storage in a file, or files, data with the following form
alist =
Table[Table[RandomReal[{0, 1}, 2], {i, 1, 200}], {j, 1, 10000}];
blist =
Table[Table[{RandomReal[{0, 1}, 6], RandomReal[],
RandomReal[{0, 1}, 6], RandomReal[{0, 1}, 6]}, {i, 1, 200}], {j,
1, 10000}];
clist = RandomReal[{0, 1}, 10000];
In a few seconds, Mathematica is able to create these lists.
However, when I try to export this data to a .txt file, using
Export["C:\\pathname\\abclists.txt", {alist, blist, clist}];
My computer starts to freeze, and I have to abort the evalutation. When I check the result, Mathematica has created a 600MB .txt file.
Is there a more efficient way to storage data in a file or files? I have no preference for the file type, as long as I can easily rebuild the original data, preserving the list levels.
DumpSave
? $\endgroup$