I would expect the performance to be fairly similar. Muenchian grouping is
pretty efficient, it's hard to improve very much on it. The big advantage of
xsl:for-each-group (at least with the group-by option) is usability, not
performance.
Michael Kay
# -----Original Message-----
# From: Gruenewald, Terry [mailto:tgruenewald(_at_)kansys(_dot_)com]
# Sent: 24 March 2004 21:00
# To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
# Subject: [xsl] performance and the xsl:for-each-group instruction
#
# Does the xsl:for-each-group instruction have a performance
# benefit over using the Muench method, or is it just syntactic
# candy? I've been testing xsl:for-each-group against the
# Muench method in Saxon 7.8 and I don't see any performance
# gain. It would make sense (at least to me) that
# xsl:for-each-group could operate much more efficiently than
# the Muench method since it knows what you want to do is group.
#
#
#
#
#
# --+------------------------------------------------------------------
# XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
# You are subscribed as: mhk(_at_)mhk(_dot_)me(_dot_)uk
# To unsubscribe, go to:
#
http://lists.mulberrytech.com/unsub.php/xsl-list/mhk(_at_)mhk(_dot_)me(_dot_)uk
# or e-mail:
#
<mailto:xsl-list-unsubscribe-mhk=mhk(_dot_)me(_dot_)uk(_at_)lists(_dot_)mulberrytech(_dot_)com>
# --+--
#
#