James Almer (12020-08-10): > Personally, i don't like it. It's extra complexity to save a single 8 or > 12 byte allocation that happens once during bsf alloc. It's kind of a > pointless micro-optimization.
I do not agree at all. First, it is not extra complexity, it actually makes the code simpler: less mutually dependant allocations that can lead to leaks if they are not handled properly, better guarantees, for no more code. Second, this is precisely the kind of "micro" optimization we should be doing everywhere, because "micro" times "a lot" starts to be significant, and FFmpeg has not reached its status by wasting "micro" optimizations. Regards, -- Nicolas George
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".