Help selecting battery please?

Ok well I'm slightly confused. To me it seams like my better will last longer if I use a 12v battery with a switching voltage regulator to convert the voltage to 3v as compared to if I use a linear regulator? Am I missing something?