Jarrett Billingsley: > I thought I remember seeing a runtime function to allocate an array > without initializing it.. maybe it's just not used yet?
Splitting the array allocation and the memset32, a successive optimization pass of the compiles may be able to simplify code like: auto a = new int[n]; a[] = 10; a[] = 20; In a single allocation + one memset32, instead of allocation + 3 memsets32. But in most situations this isn't a critical optimization, so it's low priority. Bye, bearophile
