01-13-2023, 04:10 PM
I have no idea how good the garbage collection / smart pointers / whatever is so there's bound to be someone better versed with the source code to answer this. That said, I would be more tempted to create a helper function if this kind of thing is needed often. Then you'd get the benefits of a simple call to a function that would do the loading and calculation and also clean up after itself.
And, with that, I haven't answered your question at all
And, with that, I haven't answered your question at all
RokCoder - dabbling in QB64pe for fun