开发者

Performance of shift operations in Java vs. C++

开发者 https://www.devze.com 2023-01-10 09:03 出处:网络
What is the performance of Shift Operation in Java compared to 开发者_StackOverflow社区C++Generally speaking, if you think you\'re going to get significant performance differences in primitive operati

What is the performance of Shift Operation in Java compared to 开发者_StackOverflow社区C++


Generally speaking, if you think you're going to get significant performance differences in primitive operations between different languages, you're sadly mistaken, and if you think you need to re-write your app or part of your app in a different language to get better performance, the time would be better spent looking at your algoritms and data structures.


This seems like an easy question to answer with some profiling tools available in your favorite C++ and Java IDE's.

0

精彩评论

暂无评论...
验证码 换一张
取 消