android-svg-code-render icon indicating copy to clipboard operation
android-svg-code-render copied to clipboard

Java output contains unnecessary operations which can be optimized away

Open almosr opened this issue 9 years ago • 0 comments

The Java output is somewhat optimized, unused instances for various drawing classes are removed, useless Canvas.save() and Canvas.restore() calls are eliminated.

However, there is still room for improvement, for example too many Matrix class instances are created which are not too useful at the end (usually merged with other Matrix instances using Matrix.preConcat() calls).

Further optimization methods are needed for the output.

almosr avatar Apr 11 '15 05:04 almosr