Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: autoload



On Dec 23,  7:51am, Ray Andrews wrote:
}
} Can we determine how much memory functions use when loaded, such that a 
} practical determination might be made as to how much 'real' difference 
} it might make to free memory vs. any speed considerations?

The in-memory size of a function is at least as large and probably a bit
larger than its on-disk size as a file, because it's stored in both
compiled and text form (the former for speed, the latter for output of
the verbose and xtrace options and/or the functions command).

} What do guys do in the real world?

I autoload practically everything.  I don't, however, zcompile things
very much.



Messages sorted by: Reverse Date, Date, Thread, Author