Optical signal processing with reduced power consumption