changeset 710:70a3cdf0dbb3

unsucessful acceleration idea
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Wed, 22 Jul 2015 17:01:25 -0400
parents a37c565f4b68
children 523eda2fafd4
files c/feature-based-tracking.cpp
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/c/feature-based-tracking.cpp	Wed Jul 22 14:17:44 2015 -0400
+++ b/c/feature-based-tracking.cpp	Wed Jul 22 17:01:25 2015 -0400
@@ -272,6 +272,8 @@
   unsigned int savedObjectId=0;
 
   trajectoryDB->createInstants("table");
+  //trajectoryDB->createIndex("positions","trajectory_id"); // does not seem to make loading features faster
+  //trajectoryDB->createIndex("velocities","trajectory_id");
 
   unsigned int maxTrajectoryLength = 0;
   success = trajectoryDB->maxTrajectoryLength(maxTrajectoryLength);