Performance about SilkTouch #448
-
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
What about this? We generate the method bodies and they are highly optimized. If you have questions, I'm happy to answer them. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
you are inspecting IL here - while our bindings aren't the most IL space efficient, the JIT is very good at turning these into assembly, and they are chosen to allow JIT to optimize.
and usually the you also mention the |
Beta Was this translation helpful? Give feedback.
you are inspecting IL here - while our bindings aren't the most IL space efficient, the JIT is very good at turning these into assembly, and they are chosen to allow JIT to optimize.
You are referencing the seemingly uncessary cast to Silk.NET.Vulkan.Vk.GeneratedVTable, but this is done to allow the JIT to assume the type and devirtualize the call, allowing inlining of the call
in asm, a typical function will look something like