Performance should be much better in the recent versions (see devlog) - see if you are calling the functions multiple times per frame by any chance.
As for 64-bit runtime, that breaks every single existing DLL, and I have made decades of DLLs, so it will take some time to update all of them.