dylibso / dylibso/chicory

Specialize code generation for(build time) compiled Machines

Open
#964 5 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.