P秒量级的计算,猜测要先放大量级后,再计算,不懂。
说到高能物理,搜了一下,老早就有java搞的高性能的计算库了,而且宣称某些方面不比c/c++的慢(看着象是没维护了):
https://dst.lbl.gov/ACSSoftware/colt/
In overlapping areas, it is competitive or superior to toolkits such as STL, Root, HTL, CLHEP, TNT, GSL, C-RAND / WIN-RAND, (all C/C++) as well as IBM Array, JDK 1.2 Collections framework (all Java), in terms of performance (!), functionality and (re)usability.
【 在 hongyan2022 的大作中提到: 】
: 啊,照这么说,根本上 还是传引用
: 谢谢详细的解释!
: 关于编译器优化靠不住,具体的例子,我不知道
: ...................
--
修改:z16166 FROM 222.129.205.*
FROM 222.129.205.*