[Mono-list] How often is the class status page updated?

Ben Maurer bmaurer@users.sourceforge.net
19 Jun 2003 17:39:16 -0400


On Thu, 2003-06-19 at 17:31, Piers Haken wrote:
> > From: Ben Maurer [mailto:bmaurer@users.sourceforge.net] 
> > > There are no (zero) instances, in corcompare.xsl where all the 
> > > children have to be checked before an element can be produced.
> > 	<xsl:template name="toggle">
> > 		<xsl:choose>
> > 			<xsl:when test="not(@presence) and 
> > .//*[@missing_total or @todo_total or @extra_total or 
> > @warning_total or @error or @presence] and
> > local-name() != 'assembly'">
> > 				<img src="cm/tp.gif" class="t"/>
> > 			</xsl:when>
> > 			<xsl:when test="not(@presence) and 
> > .//*[@missing_total or @todo_total or @extra_total or 
> > @warning_total or @error or @presence]">
> > 				<img src="cm/tm.gif" class="t"/>
> > 			</xsl:when>
> > 			<xsl:otherwise>
> > 				<img src="cm/tb.gif"/>
> > 			</xsl:otherwise>
> > 		</xsl:choose>
> > 	</xsl:template>
> > 
> > That is called for every + or - box.
> 
> That's true, but in reality the transform never has to check more than a
> few items before it short-circuits out.
Yes, but what if the element that allows a short circuit is at the
bottom? Also, if the element is actually complete, that takes a long
time. As time goes on, this method will get much slower ;-).