6 ms·
What is the double hack used in OpenHFT? I tried looking this up and came up short.
by vamega 2y ago
What is the double hack used in OpenHFT? I tried looking this up and came up short.
- pcl 2y agoI’ll byte. Perhaps you didn’t look long enough. I’m sure the answer will float by at some point.
- atemerev 2y agohttps://github.com/OpenHFT/Chronicle-Core/blob/ea/src/main/java/net/openhft/chronicle/core/Maths.java https://github.com/OpenHFT/Chronicle-Core/blob/ea/src/main/j... (see roundN) Be careful and use it only if you know what you are doing and understand the limitations.