michaelni changed the topic of #ffmpeg-devel to: Welcome to the FFmpeg development channel | Questions about using FFmpeg or developing with libav* libs should be asked in #ffmpeg | This channel is publicly logged | FFmpeg 7.0 has been released! | Please read ffmpeg.org/developer.html#Code-of-conduct
<Lynne>
speed-wise, what's the overhead of reserving large amounts of stack on function entry?
<Lynne>
(large == a kib)
<BtbN>
I don't think there is one? The stack is already there anyway
<BtbN>
either you exhaust it and kaboom, or nothing changes
<BtbN>
The default minimum stack size apparently is 512K on OSX, 1MB on Windows and 8MB on Linux
<Gramner>
1 KiB can't really be considered a large stack allocation
<wbs>
on windows, allocating more than 4 KB of stack does have a cost though, the compiler injects a call to a helper function that makes sure enough stack actually is mapped
<wbs>
it touches one 4K page at a time downwards
<wbs>
(in the case of msvc, it checks the per-thread info structs whether it really is needed, while the mingw implementations always touch pages)
<Gramner>
if compiling with -ftrivial-auto-var-init all stack allocations will be initialized, that would have a performance impact if used. probably not an issue in practice, although maybe some distro does that for "omg must enable all the compiler flags that sounds securish" reasons or something idk
<psykose>
there are a few that do init=zero sure
<psykose>
it catches some amount of real bugs
<Gramner>
it would kind of expect it to hide bugs rather then catch them
jamrial has joined #ffmpeg-devel
Krowl has joined #ffmpeg-devel
Krowl has quit [Read error: Connection reset by peer]
ccawley2011 has quit [Ping timeout: 246 seconds]
ccawley2011 has joined #ffmpeg-devel
haihao has quit [Ping timeout: 264 seconds]
haihao has joined #ffmpeg-devel
ccawley2011 has quit [Ping timeout: 264 seconds]
ccawley2011 has joined #ffmpeg-devel
paulk has quit [Ping timeout: 268 seconds]
cone-046 has quit [Quit: transmission timeout]
paulk has joined #ffmpeg-devel
paulk has quit [Changing host]
paulk has joined #ffmpeg-devel
paulk has quit [Ping timeout: 245 seconds]
paulk has joined #ffmpeg-devel
paulk has joined #ffmpeg-devel
paulk has quit [Changing host]
paulk has quit [Ping timeout: 272 seconds]
paulk has joined #ffmpeg-devel
paulk has quit [Ping timeout: 240 seconds]
paulk has joined #ffmpeg-devel
ccawley2011 has quit [Ping timeout: 255 seconds]
ccawley2011 has joined #ffmpeg-devel
paulk has quit [Remote host closed the connection]
paulk has joined #ffmpeg-devel
iive has joined #ffmpeg-devel
paulk has quit [Ping timeout: 255 seconds]
haihao has quit [Ping timeout: 245 seconds]
haihao has joined #ffmpeg-devel
paulk has joined #ffmpeg-devel
cone-436 has joined #ffmpeg-devel
<cone-436>
ffmpeg Andreas Rheinhardt master:651f3aa7f911: avcodec/h264dec: Remove unused coded_picture_number
___nick___ has joined #ffmpeg-devel
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ffmpeg-devel
ccawley2011 has quit [Ping timeout: 252 seconds]
paulk has quit [Remote host closed the connection]
paulk has joined #ffmpeg-devel
paulk has joined #ffmpeg-devel
paulk has quit [Changing host]
Krowl has joined #ffmpeg-devel
paulk has quit [Ping timeout: 260 seconds]
paulk has joined #ffmpeg-devel
paulk has quit [Ping timeout: 256 seconds]
paulk has joined #ffmpeg-devel
kurosu has joined #ffmpeg-devel
wyatt8750 has quit [Remote host closed the connection]
wyatt8740 has joined #ffmpeg-devel
rvalue- has joined #ffmpeg-devel
rvalue has quit [Ping timeout: 240 seconds]
rvalue- is now known as rvalue
compnn has quit [Read error: Connection reset by peer]
Krowl has quit [Read error: Connection reset by peer]
ccawley2011 has joined #ffmpeg-devel
paulk-bis has joined #ffmpeg-devel
paulk has quit [Ping timeout: 260 seconds]
paulk-bis has quit [Ping timeout: 252 seconds]
paulk-bis has joined #ffmpeg-devel
paulk-bis has quit [Ping timeout: 256 seconds]
compn has joined #ffmpeg-devel
paulk-bis has joined #ffmpeg-devel
HarshK23 has quit [Quit: Connection closed for inactivity]
paulk-bis has quit [Ping timeout: 240 seconds]
___nick___ has quit [Ping timeout: 264 seconds]
paulk-ter has joined #ffmpeg-devel
kasper93 has quit [Ping timeout: 272 seconds]
kasper93 has joined #ffmpeg-devel
Krowl has joined #ffmpeg-devel
kasper93_ has joined #ffmpeg-devel
kasper93 has quit [Ping timeout: 268 seconds]
Livio has joined #ffmpeg-devel
cone-436 has quit [Quit: transmission timeout]
paulk-ter has quit [Ping timeout: 255 seconds]
paulk-ter has joined #ffmpeg-devel
AbleBacon has joined #ffmpeg-devel
kurosu has quit [Quit: Connection closed for inactivity]
paulk-ter has quit [Ping timeout: 272 seconds]
paulk-ter has joined #ffmpeg-devel
paulk-ter has quit [Ping timeout: 256 seconds]
paulk-ter has joined #ffmpeg-devel
paulk-ter has quit [Ping timeout: 268 seconds]
paulk-ter has joined #ffmpeg-devel
haihao has quit [Ping timeout: 246 seconds]
haihao has joined #ffmpeg-devel
Krowl has quit [Read error: Connection reset by peer]
haihao has quit [Ping timeout: 268 seconds]
haihao has joined #ffmpeg-devel
Livio has quit [Ping timeout: 260 seconds]
kasper93_ is now known as kasper93
wyatt8750 has joined #ffmpeg-devel
wyatt8740 has quit [Ping timeout: 255 seconds]
ccawley2011 has quit [Read error: Connection reset by peer]
HarshK23 has joined #ffmpeg-devel
SystemError has quit [Remote host closed the connection]