Re: optional argument versus subroutine overloading
- From: "Jugoslav Dujic" <jdujic@xxxxxxxxx>
- Date: Wed, 28 Feb 2007 18:58:37 +0100
Steve Lionel wrote:
| reubendb wrote:
|
|| Is function/subroutine overloading actually resolved
|| during compilation, or during run time, as in the case of presence
|| test ?
|
| Overloading is typically resolved at compile time. I'd be astonished
| if any implementation did it differently.
....and testing for presence of optional arguments, while not "free",
is extremely cheap. Thus, no real performance concerns in any case.
--
Jugoslav
___________
www.xeffort.com
Please reply to the newsgroup.
You can find my real e-mail on my home page above.
.
- Follow-Ups:
- Re: optional argument versus subroutine overloading
- From: reubendb
- Re: optional argument versus subroutine overloading
- References:
- optional argument versus subroutine overloading
- From: reubendb
- Re: optional argument versus subroutine overloading
- From: Steve Lionel
- optional argument versus subroutine overloading
- Prev by Date: Re: Intel Support
- Next by Date: Re: Array Constructors
- Previous by thread: Re: optional argument versus subroutine overloading
- Next by thread: Re: optional argument versus subroutine overloading
- Index(es):
Relevant Pages
|
|