On Mon, Aug 14, 2000 at 10:00:17PM -0500, David L. Nicol wrote: > > > > It will run faster, because it doesn't have to evaluate > the want(). I am not so sure. Many subs that test want() do it after running common code. Now you will either have to duplicate code between the subs (thats bad) or extract that code into a common sub and have the extra sub call as an overhead. There may be a few cases where it may be a win, but I suspect they are in the minority. Graham.
- RFC 98 (v1) context-based method overloading Perl6 RFC Librarian
- Re: RFC 98 (v1) context-based method overloading Ask Bjoern Hansen
- Re: RFC 98 (v1) context-based method overload... Chaim Frenkel
- Re: RFC 98 (v1) context-based method over... Nathan Wiger
- Re: RFC 98 (v1) context-based method ... David L. Nicol
- Re: RFC 98 (v1) context-based me... Nathan Wiger
- Re: RFC 98 (v1) context-based me... Graham Barr
- Re: RFC 98 (v1) context-based me... Nick Ing-Simmons
- Re: RFC 98 (v1) context-based method overloading Hildo Biersma
- Re: RFC 98 (v1) context-based method overload... David L. Nicol
- Re: RFC 98 (v1) context-based method overloading Ken Fox
- Re: RFC 98 (v1) context-based method overloading John Porter
