Overview
| Comment: | The v15t version is in typeparse.zip. Point 1: `type def {-compact}pointC {…}` is accepted, and any list of `pointC` elements is stored in contiguous memory blocks ("cases"). Point 2: A list that serves as a field within a product type—such as `pts` in `polyC`—is also stored in contiguous memory blocks, even within a nested product. Point 3: This has been added to the roadmap. In the meantime, using `{-compact}pointC` slows down the byte-stream path in `geo_c.tcl` (encoding the area: from 1.1 ms to 4.5 ms). Consequently, I have left `geo_c.tcl` without the `{-compact}` option. Benchmark: `bench.tcl` now displays the performance difference relative to "bare" Tcl—indicated as `(/ 2.7)` for slower and `(x 13.0)` for faster. All checks pass: The 52 tests that have an expected output—including the new `t74_produit_compact`—all pass. The outputs are identical, regardless of whether the compact form is used. `valgrind` reports no issues in either mode. Full Tcl test suite: the same 61 failures as in v15. |
|---|---|
| Timelines: | family | ancestors | descendants | both | tip-764_tcl90 |
| Files: | files | file ages | folders |
| SHA3-256: |
e5b7824c45e793607c29fa5b6a2da454 |
| User & Date: | Florentis on 2026-10-24 11:46:13.452 |
| Other Links: | branch diff | manifest | tags |
Context
|
2026-10-24
| ||
| 13:16 | Version v15u is included in typeparse.zip. Loops over a typed list no longer recreate their elements... check-in: 92c0c64aa5 user: Florentis tags: tip-764_tcl90 | |
| 11:46 | The v15t version is in typeparse.zip. Point 1: `type def {-compact}pointC {…}` is accepted, and a... check-in: e5b7824c45 user: Florentis tags: tip-764_tcl90 | |
| 09:52 | Version v15s is included in typeparse.zip: the annotated scope execution time drops from 163 ms to 4... check-in: 9ac2319e26 user: Florentis tags: tip-764_tcl90 | |
Changes
Modified generic/tclAnnotObj.c
from [82339b951f]
to [9d49159916].
[diff]
Modified generic/tclTypes.c
from [143e70d7fa]
to [5b8acd054c].
[diff]
Modified generic/tclTypes.h
from [53d1e8f269]
to [82572c05ed].
[diff]
Modified typeparse/REPRISE.md
from [80418664e5]
to [b1b8e84861].
[diff]
Modified typeparse/doc/ANNOTATIONS.fr.md
from [bf78ce8084]
to [42da663539].
[diff]
Modified typeparse/exemples/geometrie/LISEZMOI.md
from [aa2f16f5dc]
to [e0883b17ae].
[diff]
Modified typeparse/noyau/LISEZMOI.md
from [ef76b4d6ed]
to [fd70889d6f].
[diff]
Modified typeparse/tclAnnotObj.c
from [82339b951f]
to [9d49159916].
[diff]
Modified typeparse/tclTypes.c
from [143e70d7fa]
to [5b8acd054c].
[diff]
Modified typeparse/tclTypes.h
from [53d1e8f269]
to [82572c05ed].
[diff]
Modified typeparse/tests_tclsh/t72_compact_type.out
from [603c889de5]
to [c482a1ec83].
[diff]
Modified typeparse/tests_tclsh/t72_compact_type.tcl
from [3bcbf758e5]
to [05120618e5].
[diff]
Added typeparse/tests_tclsh/t74_produit_compact.out version [29a121ff18].
Added typeparse/tests_tclsh/t74_produit_compact.tcl version [443d0a6342].