Steven Schveighoffer wrote: > Yes, the allocation and free performance could be improved, but it doesn't > change the fact that delete manually is not a huge performance gain, if at > all.
My benchmark shows that in the current implementation manual deletion of GC memory is at least 15 times faster than leaving it up to the GC. (better cache behavior of the data unmeasured) > If you want to gain performance, don't use the GC at all (for > example scope classes), or use a custom allocator that is tailored to your > needs. Agreed. But writing a very well performing custom allocator that scales well with the application is a not-exactly-trivial task.
