Originally reported on Google Code with ID 439
Correct me if i'm wrong, but i've read that it would be better that huge arrays sould
be allocated in the heap, thanks to 'new' or 'malloc' instead of allocating it in the
stack. Does it makes sense ? Of course, it won't prevent RT from crashing if a 'new'
allocation fails (BAD_ALLOC)...
Anyway, i've already committed the patch below in Default, and would like to know,
if i can patch Branch3 too.
Reported by natureh.510 on 2010-12-27 14:16:35
- Attachment: Stack2Heap.patch
该提问来源于开源项目:Beep6581/RawTherapee