Open espkk opened 1 year ago
context:
making copy of FuncInfo
(on each event call) triggers copying of vector of LocalVarInfo
that leads to multiple heavy allocations on each frame
I workarounded that on my local branch by putting LocalVarInfo
into std::shared_ptr
, but I'm not satisfied with this approach
https://github.com/storm-devs/storm-engine/commit/7877868f8b44c206697845a85f60b2d6e3f5f6ca This causes quite noticeable performance regression and should be reverted somehow