Building fast and highly performant data science applications requires an intimate knowledge of how data can be organized in a computer and how to efficiently perform operations such as sorting, ...
Here's what I've learned over 20 years of working with both C++ and Java (and more years before that with C++): As a rule of thumb, when you convert optimized C++ to Java, the code is about 3x slower.