in reply to Re^2: shift vs @_
in thread shift vs @_
Besides style, is there any performance penalty paid by shift?
Yes; if you do it repeatedly hundreds of thousands of times in a tight loop, you might slow down your program as much as performing one IO operation. In other words, none that you will ever notice.
|
|---|