in reply to Re: Re: Re: Re: Naming Subs
in thread Naming Subs
With the added maintainance and wasted space of a dispatch table stored in a hashYou are aware that the symbol table is basically a dispatch hash on steroids? That invalidates your wasted space comment. Actually, depending on the case, you can let a dispatch hash go out of scope, freeing memory naturally. You can get rid of the memory occupied by regular subs and their symbol table entries, but it's rather a lot of work in comparison. Not to mention that keeping user exposed symref interfaces safe takes at least as much maintenance work as setting up a dispatch hash.
Makeshifts last the longest.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re^5: Naming Subs
by BrowserUk (Patriarch) on Jan 13, 2003 at 12:33 UTC | |
by Aristotle (Chancellor) on Jan 13, 2003 at 22:43 UTC | |
|
Re: Re^5: Naming Subs
by dug (Chaplain) on Jan 13, 2003 at 21:34 UTC | |
by Aristotle (Chancellor) on Jan 13, 2003 at 22:34 UTC | |
by BrowserUk (Patriarch) on Jan 13, 2003 at 23:02 UTC | |
by Aristotle (Chancellor) on Jan 13, 2003 at 23:11 UTC |