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.

Runtime: inline Int division and comparisons; panics are never inlined (issue #47)

Measured against main (best of 15, interleaved), bigint promotion made
the effects benchmark 18% slower. Two causes:
- the 64-bit fast paths of tl_int_div and tl_int_rem had moved behind
  128-bit arithmetic, a library call: they now compute in 64 bits, and
  their small-int case is inline in tilrt.h, like tl_int_eq and
  tl_int_compare (the Rust functions are now the _slow paths);
- removing tl_int_overflow left tl_panic_str with few callers, so LLVM
  inlined it into resume_code: every nested resume of a ctl generator
  carried a larger frame (+50% page faults on a million resumes). It is
  now #[cold] and #[inline(never)].

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

olivier · il y a 1 mois · 50187a8d34a079086b100c3ea611b3c1ae31fee4

Parents 6a977f3

3 fichiers modifiés, 61 ajouts, 20 suppressions