title: codeigniter, result() vs. result_array()
body: <p>I use both <code>result()</code> and <code>result_array()</code>.</p>
  
  <p>Usually i like to get my result as array thats why i use result_array() mostly..</p>
  
  <p>But i want to know which is the better approach that i should follow,
  Which one of them is more efficient to use in regards to performance?</p>
  
  <p>Here is the Example i am talking about in codeigniter queries</p>
  
  <pre><code>$query = $this-&gt;db-&gt;get();
  $result = $query-&gt;result_array();
  </code></pre>
  
  <p>or is this should be the better approach??</p>
  
  <pre><code>$query = $this-&gt;db-&gt;get();
  $result = $query-&gt;result();
  </code></pre>
  
  <p>also right now i am using result_array in my generic model.</p>