Artifact bd680072bd7a72346306afead86f839d244520d838b20ce00a2655fde091b031:
- File typeparse/tests_tclsh/t125_type_map_blocs.out — part of check-in [83801ad6ad] at 2026-11-24 09:32:02 on branch tip-764_tcl90 — typeparse v17o: block-wise type map, path windows, views on object lists - type map: evaluated in blocks of 256 elements when the expression computes in doubles only (columns gathered, each operation applied to the whole block); flagged elements are evaluated again one by one, so results stay identical to expr. TCL_TYPE_NOBLOCK=1 to compare. - Windows $L((s0,s1,...):end:step): one column per start, same step, complete windows only, for reading and writing (set L((0,1)::2) $X $Y). - Ranges of a typed list of objects are views (shared base, start, step, count), without touching the elements; type map reads them in their base. - Typed columns are written in place (objects, cells, num), without checking the elements again. - set {T}x $v with v already of type T keeps the value as is (instead of unfolding and checking it again); fast creation of list.num. - $L(a:b:c) outside procedures uses the same direct reads as compiled code. - Fix: a fully substituted index stays a single name in the fast paths too ($L($s) with s = 1:3 looks for the element 1:3). - Tests t125, t126. New example exemples/tcllib_geometry/COMPARAISON.md: the geometry chain in ten variants, from plain Tcl to fully typed C. No core patch. (user: Florentis, size: 539) [annotate] [blame] [check-ins using]
entiers et zéros aux bords : identique (1000 éléments) racines : identique (1000 éléments) log : identique (1000 éléments) débordement : identique (1000 éléments) fonctions : identique (1000 éléments) erreur : cannot use non-numeric string "abc" as left operand of "+" / {type map element 300} infini seul : 1.5 Inf 2.5 -Inf infini calculé : 2.5 Inf 3.5 -Inf inverse : 0.6666666666666666 0.0 0.4 -0.0 après : x=3 y=0.0010000000000000009 cases : 1.162409 1.161604 1.160801 doublon : 2.0 1.998 1.996 somme : 1000311.9300999998