Add a way to optionally store exe in object
See https://github.com/paul-buerkner/brms/issues/1135#issuecomment-816884013 and discussion that followed.
This would be a great feature. Great to see it planned.
Minor note: since the objects are already serialized, they are ripe for easy & fast compression using fst (see https://www.fstpackage.org/index.html ).
Not necessarily a major concern, but may be nice to help keep object size down. I've not checked so don't know how big/small the compiled versions tend to be.
Thanks @JWiley for the suggestion!
On Ubuntu, non-trivial models should not exceed 3-5MB. It will vary depending on the C++ compiler and CmdStan version, but its somewhere in that range. It should be similar on Macs. On Windows its usually up to 2x larger.
I think with the amount of RAM/disk space available on modern systems these file/object sizes should not be problematic. If there is a use-case for it though, we would be happy to consider adding as a non-mandatory dependency.
I am going to move this one out of the 1.0 release milestone. It should be done soon after, but I don't see it being critical for 1.0.