Unless computation can be accomplished on differing overlapping frequencies, wdm devices, which resemble train switchyards, are huge, on the order of mm. So optical computing would have to take place at multi THz switching rates using very short pulses.