Artifact 46dcc39f77905f570e114e8278a72483d5f7a10aafbac1f7856a70cc3110539e:
- File typeparse/tests_tclsh/t123_vues.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: 1310) [annotate] [blame] [check-ins using]
vue : 1.0 3.0 5.0 7.0 9.0 list<double> llength 5 lindex 5.0 {double}5.0 écriture dans une copie : B=99.0 3.0 5.0 7.0 9.0 A=1.0 3.0 5.0 7.0 9.0 L=0.0 1.0 2.0 3.0 4.0 5.0 6.0 7.0 8.0 9.0 tranche de vue : 1.0 5.0 9.0 foreach : 25.0 lsort : 9.0 7.0 5.0 3.0 1.0 map : 10.0 30.0 50.0 70.0 90.0 somme 25.0 colonne : 2.0 5.0 8.0 list<double> après écriture dans P : col=2.0 5.0 8.0 P={1.0 2.0 3.0} {4.0 50.0 6.0} {7.0 8.0 9.0} string : 19 eq 1 cast : 1.0 3.0 5.0 7.0 9.0 1 base libérée, vue : 1.0 3.0 5.0 7.0 9.0 min {3 1 2} -> 1 / 1 max {3 1 2} -> 3 / 3 min {1.5 2 -0.5} -> -0.5 / -0.5 max {1.5 2 -0.5} -> 2 / 2 min {2 2.0} -> 2 / 2 max {2 2.0} -> 2 / 2 min {2.0 2} -> 2.0 / 2.0 max {2.0 2} -> 2.0 / 2.0 min {} -> ERR not enough arguments for math function "min" / ERR not enough arguments for math function "min" max {} -> ERR not enough arguments for math function "max" / ERR not enough arguments for math function "max" min {a b} -> ERR expected number but got "a" / ERR expected number but got "a" max {a b} -> ERR expected number but got "a" / ERR expected number but got "a" min {9223372036854775807 9223372036854775806} -> 9223372036854775806 / 9223372036854775806 max {9223372036854775807 9223372036854775806} -> 9223372036854775807 / 9223372036854775807 cases dans cases : 10.0 1.0 30.0 3.0 50.0 5.0 1