(self, p)
return -p*5
function to calculate score based on position among indices

        This method is used to sort loops in an optimized order, see
        CodePrinter._sort_optimized()
function to calculate score based on position among indices
function to calculate score based on position among indices
def _rate_index_position(self, p):
        """function to calculate score based on position among indices

        This method is used to sort loops in an optimized order, see
        CodePrinter._sort_optimized()
        """
        return -p*5
def _rate_index_position ( self , p ) : return - p * 5