62010 - Improve plugin wrapper code by not doing references count stuff there

Feedback Case Number: <https://xojo.com/issue/62010>

I thought about how to improve Xojo to make it faster and generated code smaller.
For all internal and external plugins, Xojo generates wrapper code.

I had some ideas to get it more efficient. If Xojo could have some more #pragma flags there to exclude unnecessary code for parameter lock/unlock and exception handling. This may reduce the overhead for plugin usage and make Xojo apps smaller.

If an application contains on average something like 10000 wrapped methods, a change on 100 bytes saved in code size could save a MB on every app.


I’ve added my Points. Thank you @Christian_Schmitz :+1: