Chosing Relay or SSR for LEDs

For a bright flash, might it be worth charging a capacitor for the flash?