ByteCount[expr]给出 Mathematica 内部存放 expr 所需的字节数.
获得用于存放一个表达式的字节数:
为不同类型的表达式绘制 ByteCount:
LeafCount MemoryInUse MaxMemoryUsed Length StringLength Depth Share BitLength Hash Compress
400+ new features, including the new Wolfram Predictive Interface, social network analysis, enterprise CDF deployment, and more »