• Robert Haas's avatar
    Minor optimizations based on ParallelContext having nworkers_launched. · df4685fb
    Robert Haas authored
    Originally, we didn't have nworkers_launched, so code that used parallel
    contexts had to be preprared for the possibility that not all of the
    workers requested actually got launched.  But now we can count on knowing
    the number of workers that were successfully launched, which can shave
    off a few cycles and simplify some code slightly.
    
    Amit Kapila, reviewed by Haribabu Kommi, per a suggestion from Peter
    Geoghegan.
    df4685fb
nodeGather.c 12.8 KB