title: Sizes of datatypes for actionscript 3
body: <p>Anyone know any good resources or personal experience that help explain how much memory (and swf size) the various built-in data types take up in actionscript 3? I'm specifically interested in <code>int</code>, <code>Number</code>, and (dense) <code>Array</code>s or <code>Vector</code>s.</p>
  
  <p>I'm working on a project where I need to embed large amounts of structured array data, which is already in C++ format, so porting is just a matter of copy-paste, search-replace.</p>
  
  <p>I've already had a look at <a href="http://www.adobe.com/livedocs/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&amp;file=00000047.html" rel="nofollow noreferrer" title="Data type descriptions">Adobe's lowdown on datatypes</a> but it's not specific enough, and doesn't mention Arrays, etc.</p>