Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: SparseArray memory usage

  • To: mathgroup at smc.vnet.net
  • Subject: [mg87894] Re: SparseArray memory usage
  • From: wpb <w.p.bergsma at lse.ac.uk>
  • Date: Sat, 19 Apr 2008 03:37:25 -0400 (EDT)

Sorry but I can illustrate my problem much more concisely:

In[2]:= 
ByteCount[SparseArray[{{1,1}->1.},{1,100000000}]]
ByteCount[SparseArray[{{1,1}->1.},{100000000,1}]]
Out[2]= 488
Out[3]= 400000484

Thanks for any comments,

wb


  • Prev by Date: NDSolve with Piecewise function
  • Next by Date: Re: Reduce and Indeterminate
  • Previous by thread: Re: SparseArray memory usage
  • Next by thread: Indefinite numbers of arguments in a function