title: XSLT for-each performance? (sitecore)
body: <p>I have the following for-each select;</p>
  
  <p><code>"sc:item($myFolder,.)/descendant::item [@template='myTemplate']"</code>. According to Sitecore's own profiler this returns crawls through 16.000 items, although there are only approx 1700 items with the mentioned template.</p>
  
  <p>Could this be optimized - if so, how?</p>