in reply to Re: Re: Re: Improving memory performance
in thread Improving memory performance

Yes Perrin, I forgot that... so to minimize wasting of space maybe i should not always rely on exporting all the subs, but create groups and import them explicitely. ( like, i have an all purpose module that has grown quite big, with utility fincs, maybe I should import only whats needed in each script. Any ideas of how much memory it costs to import a func?
  • Comment on Re: Re: Re: Re: Improving memory performance

Replies are listed 'Best First'.
memory cost of imports
by perrin (Chancellor) on Oct 06, 2002 at 17:01 UTC
    Your goal should be to import nothing at all. Importing makes code more confusing and is kind of a crutch for doing perl4 style things in perl5. However, information on how much memory it costs is available here.