Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Have you tried the newer [LibraryImport] attribute?


I 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 )




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: