Pascal vs Python
vs
Pascal 以 14.3 分领先于 Python 的 2.9 分(相差 11.4 分)。
在 9 项共同基准测试中,Pascal 胜出 6 项,Python 胜出 3 项。
Pascal 在内存效率方面领先。 Python 在流行度方面领先。
正面对比
共同基准测试(9)
| 基准测试 | Pascal | Python |
|---|---|---|
binary-trees time (s) ↓ The Computer Language Benchmarks Game | 2.12 | 33.4 |
fannkuch-redux time (s) ↓ The Computer Language Benchmarks Game | 10.7 | 5 |
fasta time (s) ↓ The Computer Language Benchmarks Game | 5.62 | 27.9 |
mandelbrot time (s) ↓ The Computer Language Benchmarks Game | 3.91 | 14.0 |
n-body time (s) ↓ The Computer Language Benchmarks Game | 6.31 | 6 |
pidigits time (s) ↓ The Computer Language Benchmarks Game | 0.75 | 1.35 |
regex-redux time (s) ↓ The Computer Language Benchmarks Game | 5.56 | 1.41 |
reverse-complement time (s) ↓ The Computer Language Benchmarks Game | 3.83 | 4.18 |
spectral-norm time (s) ↓ The Computer Language Benchmarks Game | 1.46 | 5 |
将 Pascal 与以下模型对比
将 Python 与以下模型对比