title: What is the fastest way to fill the entire boolean array with a single value (true)?
body: <p>Which method fills the static boolean array faster?</p>
  <ol>
  <li><code>fill()</code> and <code>fill_n()</code> (defined in the header <code>&lt;algorithm&gt;</code>)</li>
  <li><code>memset()</code> (defined in the headers <code>&lt;cstring&gt;</code> or <code>&lt;string.h&gt;</code>)</li>
  <li>loop</li>
  </ol>
  <p>What method is recommended for use in C++?</p>