We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Isn't DllImport slow? Would this even be viable for os dev?
The text was updated successfully, but these errors were encountered:
You can see for yourself in the disassembly.
This line:
zerosharp/no-runtime/build.cmd
Line 38 in 186dc16
(--directpinvoke:kernel32)
--directpinvoke:kernel32
makes all DllImports statically bound. They have the same overhead as an extern DllImport in C (they go through a single jmp instruction on x64).
extern
jmp
Sorry, something went wrong.
No branches or pull requests
Isn't DllImport slow?
Would this even be viable for os dev?
The text was updated successfully, but these errors were encountered: