On 2014-03-20 8:39 PM, bearophile wrote:
Etienne:

I'm running some tests on a cache store where I planned to use only
Malloc for the values being stored, I'm hoping to eliminate the GC in
95% of the program, but to keep it only for actively used items..

Usually 95%-100% of a D program uses the GC and the 0%-5% uses malloc :-)

Bye,
bearophile

I'm trying to store a copy of strings for long-running processes with malloc. I tried using emplace but the copy gets deleted by the GC. Any idea why?

Reply via email to