Hi, > on the map WaterInTheDesert: > % self > time seconds calls name > 12.79 7.16 1961 Map::updateGlobalGradientSmallOld(unsigned char*) > 8.11 4.54 1961 Map::updateGlobalGradientSmall(unsigned char*) > > on the map migration: > 10.25 4.86 1786 Map::updateGlobalGradientSmallOld(unsigned char*) > 7.74 3.67 1786 Map::updateGlobalGradientSmall(unsigned char*)
Very interested, but could you also try to first compute using your algorithm then using the old one? Indeed, there is a high probability the speed difference is partially due to the gradient already being cached by updateGlobalGradientSmallOld (thus the slowness) when updateGlobalGradientSmall is called (thus the fastness). Steph _______________________________________________ glob2-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/glob2-devel
