title: Efficient way to add two float arrays in C?
body: <p>My macOS audio application uses a for loop to add two float arrays.  Is there a more efficient way when <code>size</code> is huge?</p>
  
  <pre><code>int size = 5;
  float array1[size] = {0.0, 0.1, 0.2, 0.3, 0.4};
  float array2[size] = {0.5, 0.6, 0.7, 0.8, 0.9};
  float sum[size];
  
  for (int i = 0; i &lt; size; i ++)
  {
      sum[i] = array1[i] + array2[i];
  }
  </code></pre>