12 ms·
Have you tried the newer [LibraryImport] attribute?
by Rohansi 2y ago
Have you tried the newer [LibraryImport] attribute?
- xnorswap 2y agoI haven't, I wasn't aware of that attribute. I would gratefully accept a PR with such a benchmark case. Edit: I've now tried it, and it reduced overhead a small amount. (e.g. Average 7.5 ns vs 8 ns for the 10-byte array )