C++ vs Java performance; It’s a tie!