26 Aug
2010
26 Aug
'10
1:08 a.m.
Hi, Bruno Haible wrote:
You can avoid these complexities by using the C++ memory allocators new[]/ delete[] instead of the C memory allocator malloc/free.
Since it is easy to produce memory leaks with this technique, I don't recommend it unless you *really* have a bottleneck here. Instead, I would just go with std::vector<cln::cl_I> and not worry about memory management too much. It smells like premature optimization. -richy. -- Richard B. Kreckel <http://www.ginac.de/~kreckel/>