When looking into #39, we found that computeShapes is one of the bottleneck for speeding up, and the number of this function calls can be reduced. For example, it seems that if we run star whisker and then PSF whisker, computeShapes are called separately for each test. If we collect all shapes needed for tests in a run and then we get these shapes by a single call of computeShapes, it can reduce the time.
When looking into #39, we found that
computeShapes
is one of the bottleneck for speeding up, and the number of this function calls can be reduced. For example, it seems that if we run star whisker and then PSF whisker, computeShapes are called separately for each test. If we collect all shapes needed for tests in a run and then we get these shapes by a single call ofcomputeShapes
, it can reduce the time.