in reply to Silly question about function args
The first form would be slightly faster.
If performance is so important to your application, and you even start to look at this kind of subtle place, then why not go c, instead of perl.
You said it would run overnight, is it active all the night? or idle most of the time? if it is active the whole night, go c.
Choose the right tool for the right thing.