title: Python: size of strings in memory
body: <p>Consider the following code:</p>
  
  <pre><code>arr = []
  for (str, id, flag) in some_data:
      arr.append((str, id, flag))
  </code></pre>
  
  <p>Imagine the input strings being 2 chars long in average and 5 chars max and some_data having 1 million elements.
  What will the memory requirement of such a structure be? </p>
  
  <p>May it be that a lot of memory is wasted for the strings? If so, how can I avoid that?</p>