mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-04-15 05:32:21 +00:00
1aadc19f369cbda629d86cd7d6edf81ca184378b
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
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
Description
Languages
Standard ML
68.2%
C++
28.2%
C
2.7%
Yacc
0.2%
QMake
0.2%
Other
0.1%