tobogganSe connecter

louise

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

Runtime: smaller idle actors: fewer and smaller allocations (issue #137)

An idle actor took about 2.2 KiB after hibernation; these bring it under
2.1:
- A fiber's channel and its result slot share one allocation
  (fiber::Slots): the result, `()` for actors, took a 32-byte malloc chunk
  of its own.
- A receive keeps one tag inline (otp::Tags): `receive` allocated a Vec of
  one tag on every call, and a waiting actor held it.
- Links, monitors and the exit-signal settings (otp::Ties) are allocated
  on first use: most actors have none, and their fields took about 100
  bytes of every Proc. Links keep their two structures: a list alone would
  change the order exits propagate in after an unlink and a relink.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

olivier · il y a 1 mois · 8f1472896559e522c14d48bdda8acaeec2e787ac

Parents 21dfd49

4 fichiers modifiés, 136 ajouts, 75 suppressions