title: what's the fastest way to reset a julia array to all zeros?
body: <p>suppose I have an existing array like</p>
  
  <pre><code>x = rand(4)
  </code></pre>
  
  <p>and then I want to reset <code>x</code> to zero. Can I avoid doing <code>x = zeros(4)</code>. I'm concerened about memory allocation.</p>