dsimcha: > Right. This is exactly the kind of thing TempAlloc was meant to solve. I think TempAlloc is meant for larger allocations. D-VLAs are meant to allocate little arrays (like 1 KB or less) on the normal stack very quickly. Bye, bearophile