This applies the same optimization as b8bd304bd4 to the separate color node. I observed about a 50% improvement with 10 million values when only extracting one channel-- from about 17ms to 11ms.
b8bd304bd4