Using the delete Keyword /w GC
Etienne via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Aug 25 10:10:12 PDT 2014
People have been saying for quite a long time not to use the `delete`
keyword on GC-allocated pointers.
I've looked extensively through the code inside the engine and even made
a few modifications on it/benchmarked it for weeks and I still can't see
why it would be wrong. Wouldn't it help avoid collections and make a
good hybrid of manual management/collected code? The free lists in the
GC engine look quite convenient to use. Any ideas?
More information about the Digitalmars-d-learn
mailing list