Re: Code Feedback Wanted (Generating more garbage)

From: Bulent Murtezaoglu (bm_at_acm.org)
Date: 03/25/04


Date: Thu, 25 Mar 2004 16:39:26 +0200


>>>>> "KT" == Kenny Tilton <ktilton@nyc.rr.com> writes:

    KT> ... He also said
    KT> &rest was efficient if it was (or was not?) "dynamic
    KT> extent". Hunh? Whassat? Examples, plz, I really am just an
    KT> apps guy. ...

He must have said "if it was." Dynamic extent (as opposed to indefinite
extent you are used to) means the data is not alive once the function
returns. That means you don't return pointers to it, you don't assign it
to a dynamic var etc. Fancy name for 'can be allocated on the stack.'
You use a declaration for this and the implementation is allowed to
ignore it. Nasal daemons if you lie. Hyperspec is calling you...

cheers,

BM