tobogganSe connecter

louise

The Louise language: compiler, runtime, std, tooling

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

Std: build SSE frames in a bytes.Builder

sse.frame and sse.comment concatenated 'tag: ' <> value <> '\n' per
line, joined the parts, and copied the result into Bytes: two strings
per line plus the joins. Append the pieces to a builder instead and
build once: 100k frame+comment iterations drop the throwaway bench's
instructions 4.72G -> 4.52G (-4.4%). tests/run/http_sse.lse pins the
exact frame bytes.

olivier · il y a 1 mois · ff3c63ae3d98025c7dcb2a8dfd920a830b5bf120

Parents 9a61f4c

2 fichiers modifiés, 61 ajouts, 10 suppressions