From 088017f67c7b404257212b2fed13d97c63ff93b1 Mon Sep 17 00:00:00 2001 From: Miika Turkia Date: Sat, 3 May 2014 07:51:28 +0300 Subject: Optimize UDDF export Writing the samples/waypoints to UDDF export in a totally new way. Previously the preparations for approximating waypoints was done for every sample, now only for the events. A few days ago it took 36 seconds for my test set of 8 dives to export to UDDF. This optimization round took it down from 0m4.745s to 0m0.253s. Fixes #508 Signed-off-by: Miika Turkia Signed-off-by: Dirk Hohndel --- xslt/uddf-export.xslt | 333 ++++++++++++++++++++++++++------------------------ 1 file changed, 174 insertions(+), 159 deletions(-) diff --git a/xslt/uddf-export.xslt b/xslt/uddf-export.xslt index 3ab59e705..0de8b4904 100644 --- a/xslt/uddf-export.xslt +++ b/xslt/uddf-export.xslt @@ -186,176 +186,191 @@ - - - - - + + - - - - - - - - - - - - - - - + + + - - - - - - - - - - - + + - - - - - - - - - - - - - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3-70-g09d2