Specialize code generation for(build time) compiled Machines
Open
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 71
- PR merge metrics
- No merged PRs in 30d
Description
Currently we pay the price of boxing and unboxing the arguments even if when not needed.
In the generated `ModuleExports` class we are invoking functions using the generic lookup mechanism:
```java
instance.exports().function("xyz");
```
When the module is compiled(especially build-time), we can optimize and generate the direct invocation without boxing/unboxing, something like:
```java
MyModuleMachineFuncGroup_0.func_123(arg0, arg1);
```
Contributor guide
Assessment
This issue has not been assessed yet.