title: knockout.js with nested foreach loop
body: <p>I am working with knockout.js 2.0 and when i do a nested foreach loop the performance is extremely slow.  The main loop has about 70 records being returned and the array inside those 70 json records contain anywhere from 0 - 20 items.  So i feel this is not alot of json data.</p>
  
  <p>I am just testing with the below code:</p>
  
  <pre><code>    &lt;table&gt;
          &lt;tbody data-bind="foreach: Employees, visible: Employees().length &gt; 0"&gt;  
              &lt;tr&gt;                
                  &lt;td class="centerdata" data-bind="text: ID"&gt;&lt;/td&gt;
                  &lt;td class="centerdata" data-bind="text: Name"&gt;&lt;/td&gt;
                  &lt;td&gt;
                     &lt;table&gt;
                         &lt;tbody data-bind="foreach: $data.Transactions"&gt;  
                             &lt;tr&gt;   
                                &lt;td data-bind="text:TransDate"&gt;&lt;/td&gt;
                             &lt;/tr&gt;
                         &lt;/tbody&gt;
                     &lt;/table&gt;
                  &lt;/td&gt;
              &lt;/tr&gt;                    
          &lt;/tbody&gt;
     &lt;/table&gt;
  </code></pre>
  
  <p>The page takes about 20 seconds to load.  There are other fields inside the json, but I have removed them for simplicity.</p>
  
  <p>Thanks,
  Matt</p>