On Mon, Jun 25, 2007 at 10:31:25PM +0100, Nicholas Clark wrote: > On Mon, Jun 25, 2007 at 09:44:02PM +0100, Tim Bunce wrote: > > > Once upon a time there was talk of implementing a "less" pragma > > so you'd be able to say something like > > > > use less qw(memory); > > > > to indicate that cpu/memory balance should be shifted towards cpu. > > Pity that never happened. > > It's still on the todo list. It doesn't appear to have become a large enough > itch for anyone to scratch it.
Perhaps in part because a) few people realise that a sub manipulating large strings in lexical vars will continue to hold that memory, and b) there's no easy way to measure the memory being held in this way. Tim. p.s. I've set Reply-To [EMAIL PROTECTED]