in reply to Re: Re: module memory usage
in thread module memory usage

Devil,

Quite true, the classic CPU versus memory tradeoff. As with all "optimizations", you almost never get away for free.

Personally I would rather waste a CPU cycle or 2 since they tend to be very cheap, and for what I do (mod_perl web apps) a pico second here or there is usually okay, while running into disk swap for memory is not.

In the end, I stick with the old mantra:

Premature optimization is the route of all evil.

- C.A. Hoare (although usually attributed to Donald Knuth)

-stvn

Replies are listed 'Best First'.
Re: Re: Re: Re: module memory usage
by diotalevi (Canon) on Dec 22, 2003 at 13:52 UTC
    Nah, this stuff is in the realm of micro-optimizations. That's why I signed my note with 'Devil' for 'Devil's advocate'.