Artifact a36ccd4b56b2ef71bc8bbdee176e3365f7a6d00eecbb6d9ba2315a4a993bd3af:
- File typeparse/noyau/ORDRE.txt — part of check-in [92c0c64aa5] at 2026-10-24 13:16:58 on branch tip-764_tcl90 — Version v15u is included in typeparse.zip. Loops over a typed list no longer recreate their elements, and the "annotated" step shows performance gains across the board in the geometry benchmark. Difference compared to plain Tcl (10,000 points): calculation v15s v15u area / 3.4 / 2.2 perimeter / 2.7 / 1.9 bounding box / 6.7 / 3.7 contains_all / 3.6 / 2.6 Bézier / 2.7 / 2.4 For 10,000 points, an empty `foreach` loop improves from 2.6 ms to 0.24 ms (plain Tcl: 0.16 ms). The change affects two core files: `tclExecute.c` and `tclCmdAH.c`. These are included in the new `boucles-typees.patch` (typed-loops patch), which has been added to the end of `ORDRE.txt`. All checks pass: the 53 tests—including the new `t75_boucles_typees`—produce the same output as before the change; output remains identical whether the compact form is used or not; `valgrind` reports no issues in either mode; the full Tcl test suite shows the same 61 failures as in v15. I have updated `noyau/LISEZMOI.md`, `ANNOTATIONS.fr.md` (section 15), the `LISEZMOI.md` file for the geometry component, `REPRISE.md`, and the project schedule. Within the loops, the primary remaining overhead comes from path-based lookups (e.g., `$q(x)`), which take approximately 0.2 µs each, compared to 0.06 µs for an index-based lookup. This corresponds to point 2: implementing a cache at the point of the lookup within the bytecode. (user: Florentis, size: 1139) [annotate] [blame] [check-ins using]
# Patchs C à appliquer sur l'arbre, dans cet ordre (un par ligne, # = commentaire). # maj.sh détecte seul ceux qui sont déjà appliqués. Les nouveaux patchs s'ajoutent à la fin. # C patches to apply to the tree, in this order. maj.sh detects the ones already applied. types-binaires-linkdepth.patch types-binaires-referentiel.patch types-binaires-taille-dynamique.patch types-binaires-annotations-locales.patch types-binaires-type-binary-annote.patch types-binaires-nom-type-binary.patch types-binaires-set-annotation-locale.patch types-binaires-notes.patch types-binaires-notes-typeget.patch types-binaires-cast-constructeur.patch types-binaires-convert-famille.patch types-binaires-codec-c.patch types-binaires-codec-c-decode.patch types-chemins-construction.patch types-chemins-depliage.patch index-chemins-noyau.patch types-chemins-atomes.patch types-produit-etiquettes.patch contrat-par-nom.patch elements-atomiques.patch cast-collection.patch eias-string-is.patch chemins-modification.patch set-nom-substitue.patch lset-reference.patch tip759-memoire.patch compact-conversions.patch procedures-typees.patch boucles-typees.patch