Chuck Esterbrook wrote:
with the "many small mallocs" problem. This a good example where C
outshines Pascal where such an approach would be impossible.
In Pascal, such an approach would be unnecessary if your compiler was
smart enough to allocate more than one object's worth of space at a
time, which you can't do with C because you don't pass any type
information to malloc that would let malloc handle it.
I.e., the bit they implemented in C? That should be in the
compiler/runtime for languages that actually are statically typed.
--
Darren New / San Diego, CA, USA (PST)
It's not feature creep if you put it
at the end and adjust the release date.
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg