
louise
Clone avec HTTPS, un jeton personnel en mot de passe, ou avec SSH, une clé ajoutée dans vos paramètres.
Dernier runRéussi#1203 · main · 9 min 56 s
1Étoiles
0Forks
0Issues
Std: linear string.join, and the html benchmark at 200,000 rows (issue #36)
`string.join` appended each part to its accumulator (`acc <> sep <> p`), copying the accumulator every time, so `html.render` was quadratic: a 30,000-row page took over a minute. It now calls the runtime's join, which sizes the result once; `string.concat` joins without a separator and `html.render` uses it. A 30,000-row page renders in about 0.2 s. The html benchmark goes from 5,000 to 200,000 rows (about 12 MB of HTML); its checksum, 12777805, was computed independently from the row template. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Parents 4f30ff1
4 fichiers modifiés, 15 ajouts, 19 suppressions
std/html.til+2−2std/string.til+8−12tests/bench/README.md+1−1tests/bench/html.til+4−4