Commit fba2456a

fba2456a451bMerged

Yukihiro "Matz" Matsumoto <[email protected]> · 7 months ago · 1 file · ~1 modified

Description

docs: close #1 — use _ as thousands separator in README

Switch the thousands-separator in README numbers from , to _. The comma form is ambiguous in locales where it reads as a decimal point (as the issue reporter noted). _ is Ruby's own numeric-literal separator, so it's unambiguous across locales and instantly recognizable to the target audience.

Covers the benchmark tables and the per-file line counts in the Architecture section.

Co-Authored-By: Claude Opus 4.7 (1M context) [email protected]

Details

Commit
fba2456a451b
Parent
7988d51e5ba2

README.mdmodifiedView file

@@ -92,16 +92,16 @@
9292
9393 | Benchmark | Spinel | miniruby | Speedup |
9494 |---|---|---|---|
95-| life (Conway's GoL) | 20 ms | 1,733 ms | 86.7x |
95+| life (Conway's GoL) | 20 ms | 1_733 ms | 86.7x |
9696 | ackermann | 5 ms | 374 ms | 74.8x |
97-| mandelbrot | 25 ms | 1,453 ms | 58.1x |
97+| mandelbrot | 25 ms | 1_453 ms | 58.1x |
9898 | fib (recursive) | 17 ms | 581 ms | 34.2x |
9999 | nqueens | 10 ms | 304 ms | 30.4x |
100100 | tarai | 16 ms | 461 ms | 28.8x |
101101 | tak | 22 ms | 532 ms | 24.2x |
102102 | matmul | 13 ms | 313 ms | 24.1x |
103103 | sudoku | 6 ms | 102 ms | 17.0x |
104-| partial_sums | 93 ms | 1,498 ms | 16.1x |
104+| partial_sums | 93 ms | 1_498 ms | 16.1x |
105105 | fannkuch | 2 ms | 19 ms | 9.5x |
106106 | sieve | 39 ms | 332 ms | 8.5x |
107107 | fasta (DNA seq gen) | 3 ms | 21 ms | 7.0x |
@@ -116,7 +116,7 @@
116116 | so_lists | 76 ms | 410 ms | 5.4x |
117117 | binary_trees | 11 ms | 40 ms | 3.6x |
118118 | linked_list | 136 ms | 388 ms | 2.9x |
119-| gcbench | 1,845 ms | 3,641 ms | 2.0x |
119+| gcbench | 1_845 ms | 3_641 ms | 2.0x |
120120
121121 ### Real-World Programs
122122
@@ -124,7 +124,7 @@
124124 |---|---|---|---|
125125 | json_parse | 39 ms | 394 ms | 10.1x |
126126 | bigint_fib (1000 digits) | 2 ms | 16 ms | 8.0x |
127-| ao_render (ray tracer) | 417 ms | 3,334 ms | 8.0x |
127+| ao_render (ray tracer) | 417 ms | 3_334 ms | 8.0x |
128128 | pidigits (bigint) | 2 ms | 13 ms | 6.5x |
129129 | str_concat | 2 ms | 13 ms | 6.5x |
130130 | template engine | 152 ms | 936 ms | 6.2x |
@@ -243,11 +243,11 @@
243243
244244 ```
245245 spinel One-command wrapper script (POSIX shell)
246-spinel_parse.c C frontend: libprism → text AST (1,061 lines)
247-spinel_codegen.rb Compiler backend: AST → C code (21,109 lines)
246+spinel_parse.c C frontend: libprism → text AST (1_061 lines)
247+spinel_codegen.rb Compiler backend: AST → C code (21_109 lines)
248248 lib/sp_runtime.h Runtime library header (581 lines)
249-lib/sp_bigint.c Arbitrary precision integers (5,394 lines)
250-lib/regexp/ Built-in regexp engine (1,759 lines)
249+lib/sp_bigint.c Arbitrary precision integers (5_394 lines)
250+lib/regexp/ Built-in regexp engine (1_759 lines)
251251 test/ 74 feature tests
252252 benchmark/ 55 benchmarks
253253 Makefile Build automation