IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 24, 2007, 2:41:33 PM (19 years ago)
Author:
Paul Price
Message:

Adding note about future optimisation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/imcombine/pmSubtraction.c

    r15371 r15373  
    44 *  @author GLG, MHPCC
    55 *
    6  *  @version $Revision: 1.67 $ $Name: not supported by cvs2svn $
    7  *  @date $Date: 2007-10-24 21:11:37 $
     6 *  @version $Revision: 1.68 $ $Name: not supported by cvs2svn $
     7 *  @date $Date: 2007-10-25 00:41:33 $
    88 *
    99 *  Copyright 2004-2007 Institute for Astronomy, University of Hawaii
     
    907907                    for (int j = 0; j < numKernels; j++) {
    908908                        psKernel *convolution = convolutions->data[j]; // Convolution of reference
     909
     910                        // XXX Precalculate these values, so that we're not calculating the same thing for
     911                        // every pixel.
    909912                        double polynomial = 0.0; // Value of the polynomial
    910913                        for (int yOrder = 0, index = j; yOrder <= spatialOrder; yOrder++) {
Note: See TracChangeset for help on using the changeset viewer.