Derek Buitenhuis (12021-04-07):
> Sorry, misread - but I struggle to understand where pointers to VLA are 
> considered
> not bad practice either.

To answer that, I need to know why you think VLAs are considered bad
practice.

VLAs on the stack are a bad practice because (1) they may use too much
of the stack in an unexpected way, and (2) they require extra registers
that ruin optimization in the whole function.

Obviously, it does not apply to pointers to VLA.

Regards,

-- 
  Nicolas George

Attachment: signature.asc
Description: PGP signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to