Skip to content
Tcl Source Code Check-in [e5b7824c45]
Login

Check-in [e5b7824c45]

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: e5b7824c45e793607c29fa5b6a2da4543c16e345e83a26ae3a0c8c480f5eb750
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