Mark Liversedge 1aadc19f36 Fix RideFileCache threaded db access
The call to RideFile::getWeight() in RideFileCache
computation ends up with a call the read the measures
table in the DB. This is BAD since it is called from
a thread.

We now call getWeight() in the metric aggregator before
launching the ridefilecache computation -- this will cache
the weight and avoid db access.

I've also removed the duplicate code in the w/kg metric code
too and it should be marginally faster at computing metrics
now.

BIG THANKS TO ILJA BOOIJ FOR HIGHLIGHTING THIS, DESPITE MY
INITIAL SCEPTICISM. I OWE HIM A PINT (OR TWO) :)

Fixes #604
2013-05-19 19:06:28 +01:00
2013-03-31 18:11:53 +01:00
2013-05-16 19:54:28 +01:00
2013-03-14 22:53:37 +00:00
2012-12-03 12:00:12 +00:00
2013-05-19 19:06:28 +01:00
2009-09-20 11:13:11 -07:00
2011-10-12 09:46:40 +01:00
2006-09-06 23:59:42 +00:00
2013-02-28 07:16:10 +00:00
2013-03-08 17:20:41 -05:00
2012-11-08 22:24:13 +00:00

Golden Cheetah install and build instructions are documented
for each platform;

INSTALL-WIN32   For building on Microsoft Windows
INSTALL-LINUX   For building on Ubuntu Linux
INSTALL-MAC     For building on Apple OS X

Alternatively official builds are available from http://www.goldencheetah.org
whilst latest developer builds are available from http://goldencheetah.stand2surf.net
Languages
Standard ML 68.2%
C++ 28.2%
C 2.7%
Yacc 0.2%
QMake 0.2%
Other 0.1%