tobogganSe connecter

louise

Clone avec HTTPS, un jeton personnel en mot de passe, ou avec SSH, une clé ajoutée dans vos paramètres.

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>

olivier · il y a 1 mois · 0cbf40c42ea015ebd42260184e7d93a52846c2fc

Parents 4f30ff1

4 fichiers modifiés, 15 ajouts, 19 suppressions