From aff6268ce1fdfe1d8bc7bce26676a9236b017164 Mon Sep 17 00:00:00 2001 From: retoor Date: Tue, 9 Dec 2025 14:26:41 +0100 Subject: [PATCH] The truth. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ee72e24..94d03da 100644 --- a/README.md +++ b/README.md @@ -190,7 +190,7 @@ Started at 1402ms for Fibonacci(30). After optimization: 219ms. **6.4x improveme 5-run averages comparing Rava interpreter against Python 3 interpreter and Java OpenJDK (JIT compiled): -**Note:** This is not a fair fight. Java uses Just-In-Time compilation to native machine code, while Rava and Python are pure interpreters executing bytecode. The comparison shows what's achievable with interpreter optimization techniques versus full native compilation. +**Note:** Java uses Just-In-Time compilation to native machine code, while Rava and Python are pure interpreters executing bytecode. Despite this unfair advantage, Rava still manages to beat Java at string concatenation and consistently outperforms Python across most benchmarks. This demonstrates the effectiveness of Rava's interpreter optimization techniques: NaN-boxing, fast frames, method caching, superinstructions, and bounds check elimination. | Benchmark | Rava | Python | Java | Winner | Best Speedup | |-----------|------|--------|------|--------|--------------|