diff options
author | Miika Turkia <miika.turkia@gmail.com> | 2014-05-03 08:34:09 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-05-05 09:00:26 -0700 |
commit | de89aefdcd672a2ccbc9d6c5fbc2d58d39453eca (patch) | |
tree | a127800f740b31c0decd65e4174541c167467ffa | |
parent | 7bcb85dd549d713a7bacf0e6768b884cb3045382 (diff) | |
download | subsurface-de89aefdcd672a2ccbc9d6c5fbc2d58d39453eca.tar.gz |
Marginal optimization of UDDF import
This speeds up Aquadivelog imports marginally by doing lookup to used
equipments only instead of all equipment ever used.
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | xslt/uddf.xslt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xslt/uddf.xslt b/xslt/uddf.xslt index 45e3ba02a..bdcdf8001 100644 --- a/xslt/uddf.xslt +++ b/xslt/uddf.xslt @@ -298,7 +298,7 @@ <xsl:value-of select="./@tank"/> </xsl:variable> <xsl:variable name="idx"> - <xsl:value-of select="//equipment_used/tank_used[@id=$tank_idx]/gas_ref/@ref"/> + <xsl:value-of select="../../equipment_used/tank_used[@id=$tank_idx]/gas_ref/@ref"/> </xsl:variable> <event name="gaschange" type="11"> |