Probably should have always been there in the first place 😂
Right now our shm loading api requires a size: int arg to maybe_open_shm_array() which means the loader needs to know the size ahead of time, but since shm arrays can't be resized anyway (or at least it's as expensive as just creating a new buffer), we might as well make the size an immutable part of the shm _Tokenand just pass it inside the token IPC msg..
Probably should have always been there in the first place 😂
Right now our shm loading api requires a
size: int
arg tomaybe_open_shm_array()
which means the loader needs to know the size ahead of time, but since shm arrays can't be resized anyway (or at least it's as expensive as just creating a new buffer), we might as well make the size an immutable part of the shm_Token
and just pass it inside the token IPC msg..