4 ms·
[on the Cforall team] we actually take advantage of this same VLA idiom for temporary storage for polymorphic variables. Fun fact from when we switched our imp
by BruceIV 9y ago
[on the Cforall team] we actually take advantage of this same VLA idiom for temporary storage for polymorphic variables.
Fun fact from when we switched our implementation to use VLAs: if you call alloca() for stack memory instead, it doesn't work properly inside a loop, because it never releases the memory until the stack frame is exited.