小编Wil*_*hen的帖子

为什么这个 JOML (JVM) 代码比等效的 GSL (C) 代码快得多?

我正在尝试优化一个小型库来对向量进行算术运算。

\n

To roughly check my progress, I decided to benchmark the performance of two popular vector arithmetic libraries written in two different languages, the GNU Scientific Library (GSL, C), and the Java OpenGL Math Library (JOML, JVM). I expected GSL, as a large project written in C and compiled ahead of time, to be significantly faster than JOML, with extra baggage from object management, method calls, and conforming to the Java specifications.

\n

Surprisingly, instead JOML (JVM) ended up …

c java performance benchmarking jvm

5
推荐指数
1
解决办法
612
查看次数

标签 统计

benchmarking ×1

c ×1

java ×1

jvm ×1

performance ×1