OCaml vs Python
Vodi OCaml z oceno 8.7 proti 2.9 (Python) – razlika 5.8 točk.
V skupnih testih (12): OCaml – zmage 7, Python – zmage 5.
OCaml vodi v kategoriji: Pomnilniška učinkovitost. Python vodi v kategoriji: Priljubljenost.
Neposredna primerjava
Skupni testi (12)
| Test | OCaml | Python |
|---|---|---|
fasta time (s) ↓ Programming Language Benchmarks | 0.346 | 3.347 |
lru time (s) ↓ Programming Language Benchmarks | 0.187 | 1.149 |
binary-trees time (s) ↓ The Computer Language Benchmarks Game | 3.55 | 33.4 |
fannkuch-redux time (s) ↓ The Computer Language Benchmarks Game | 8.84 | 5 |
fasta time (s) ↓ The Computer Language Benchmarks Game | 3.37 | 27.9 |
k-nucleotide time (s) ↓ The Computer Language Benchmarks Game | 16.2 | 46.5 |
mandelbrot time (s) ↓ The Computer Language Benchmarks Game | 7.6 | 14.0 |
n-body time (s) ↓ The Computer Language Benchmarks Game | 6.95 | 6 |
pidigits time (s) ↓ The Computer Language Benchmarks Game | 2.77 | 1.35 |
regex-redux time (s) ↓ The Computer Language Benchmarks Game | 2.2 | 1.41 |
reverse-complement time (s) ↓ The Computer Language Benchmarks Game | 2.27 | 4.18 |
spectral-norm time (s) ↓ The Computer Language Benchmarks Game | 5.34 | 5 |