objectionary / ineo-maven-plugin

Maven plugin that inlines and specializes objects in EO programs
http://www.objectionary.com/ineo-maven-plugin/
MIT License
4 stars 2 forks source link

Optimization For Factorial Application #69

Open volodya-lombrozo opened 1 month ago

volodya-lombrozo commented 1 month ago

Since we implemented decompilation of Factorial application in jeo-maven-plugin and opeo-maven-plugin, we can optimize this application either in XML (probably, using XSLT) or using PHI expressions.

Here is the decompiled example of the Factorial application:

XMIR: Factorial.xmir.txt

PHI: Factorial.phi.txt

volodya-lombrozo commented 1 month ago

@yegor256 @maxonfjvipon Could you help here, please?

volodya-lombrozo commented 1 month ago

@yegor256 @maxonfjvipon What do you think?

yegor256 commented 1 month ago

@maxonfjvipon this is yours

maxonfjvipon commented 1 month ago

@yegor256 @volodya-lombrozo where can I find java code examples of such optimization? (before and after)

volodya-lombrozo commented 1 month ago

@maxonfjvipon here

maxonfjvipon commented 1 month ago

@rultor release, tag is 0.3.1

rultor commented 1 month ago

@rultor release, tag is 0.3.1

@maxonfjvipon OK, I will release it now. Please check the progress here

rultor commented 1 month ago

@rultor release, tag is 0.3.1

@maxonfjvipon Done! FYI, the full log is here (took me 28min)