title: Hash[] vs to_h, are they the same, and if so which is better?
body: <p>These appear to be identical. Is there a preference, performance differences, etc?</p>
  
  <pre><code>Hash[[[:a, 'foo'], [:b, 'bar']]]
  #=&gt; {:a=&gt;"foo", :b=&gt;"bar"}
  [[:a, 'foo'], [:b, 'bar']].to_h
  #=&gt; {:a=&gt;"foo", :b=&gt;"bar"}
  </code></pre>