Open mikera opened 7 years ago
Currently both regular Java instance method invocation and static method invocation go via reflection.
We can do much better since Magic can infer the types of arguments.
Task is to optimise reflective method invocation to direct method calls wherever we can, i.e.:
Question about what to do if multiple methods match: probably need to follow Java calling convention.
Currently both regular Java instance method invocation and static method invocation go via reflection.
We can do much better since Magic can infer the types of arguments.
Task is to optimise reflective method invocation to direct method calls wherever we can, i.e.:
Question about what to do if multiple methods match: probably need to follow Java calling convention.