MathGroup Archive 2002

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

Search the Archive

Re: ByteCount for Global symbols

  • To: mathgroup at smc.vnet.net
  • Subject: [mg36607] Re: ByteCount for Global symbols
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Fri, 13 Sep 2002 23:33:04 -0400 (EDT)
  • Organization: Universitaet Leipzig
  • References: <alrt05$h9h$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

whats wrong with

ToExpression[#, StandardForm, Hold] & /@ Names["Global`*"] /. 
  Hold[a_] :> ByteCount[OwnValues[a]]

Regards
  Jens

DrBob wrote:
> 
> I want to make a list of all symbols in the Global context, as in
> 
> Names["Global`*"]
> 
> and compute a ByteCount for each symbol's OwnValues -- without
> evaluating the symbols.
> 
> It seems possible in principle, but I haven't found a way.
> 
> Bobby Treat


  • Prev by Date: Re: NIntegrate
  • Next by Date: Re: Re: Re: A symbol for Floor
  • Previous by thread: ByteCount for Global symbols
  • Next by thread: New Mathematica Programming book for V4?