Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!samsung!xylogics!bu.edu!snorkelwacker!ai-lab!rice-chex!rpk From: rpk@rice-chex.ai.mit.edu (Robert Krajewski) Newsgroups: comp.lang.c++ Subject: Making operator new smarter Keywords: memory, new, malloc Message-ID: <10564@life.ai.mit.edu> Date: 10 Sep 90 20:29:36 GMT Sender: news@ai.mit.edu Organization: MIT Artificial Intelligence Laboratory Lines: 8 Has anybody tried hacking operator new (size_t) to behave better with typical C++ usage ? In particular, it seems that the constant copying and destruction of objects that have a new'ed part will tend to result in allocations requests for a piece of memory that is the same size as one that was just freed. Robert P. Krajewski Internet: rpk@ai.mit.edu ; Lotus: robert_krajewski.lotus@crd.dnet.lotus.com