Compiled class in python/examples/straightline/straightline.py with Numba using jitclass. The dummy variable in the decorator is required due to the jitclass syntax. This reads much better than the version I sent you. I lost ~10-20 seconds but the readibility is significantly better.
Cythonised python/dnest4/utils.py. I also updated python/setup.py so that it is automatically loaded for anyone. It may be better to wrap RNG.cpp in the C++ version, however.
Two updates:
Compiled class in python/examples/straightline/straightline.py with Numba using jitclass. The dummy variable in the decorator is required due to the jitclass syntax. This reads much better than the version I sent you. I lost ~10-20 seconds but the readibility is significantly better.
Cythonised python/dnest4/utils.py. I also updated python/setup.py so that it is automatically loaded for anyone. It may be better to wrap RNG.cpp in the C++ version, however.