Different rates of star formation in spiral and irregular galaxies can help understand dark matter & gravitational instabilities