jeremyfa/spine-hx

Generate inline methods

Closed this issue · 1 comments

Now that we have a working converter, this is a fairly easy change we can do to improve overall performance.

The converter should guess which methods should be inlined based on its size and what it does.

It could also be a rule as simple as "inline every method except the ones in this blacklist".

Converter now generates inline methods (when relevant). That said it is not expected that it will improve performances much as there are plenty other areas in spine runtime that may consume much more than a function call (and only doing profiling would give answers here).