mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
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>
This commit is contained in:
parent
7bcb85dd54
commit
de89aefdcd
1 changed files with 1 additions and 1 deletions
|
@ -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">
|
||||
|
|
Loading…
Reference in a new issue