The supply and demand model is a partial equilibrium model where the clearance on the market of some specific goods is obtained independently from prices and quantities in other markets.
If an algorithm and its data will fit in cache memory, then very high speed can be obtained; in this case minimising space will also help minimise time.