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

Check-in [c8a247a331]

Overview
Comment: - A strided slice of a compact list filled with a single value is validated and encoded once, then copied cell to cell (TclCompactFillFrom). Sieve, 10^6 bytes: 99 -> 2.2 ms; 9 ms total. - exemples/crible: comparison with C, JavaScript, Python, PHP, Ruby, Perl - type repeat T N ?value?: a list of T made of N times the value (zero by default), in cells without an intermediate list (one million bytes: 0.1 ms); test t131 - direct sum of s + $v over integer cells (8, 16, 32 bits) when no partial sum can exceed 64 bits; test t132 (sieve, 10^6 bytes: counting 2.8 -> 0.2 ms, 2.5 ms total)
Timelines: family | ancestors | descendants | both | tip-764_tcl90
Files: files | file ages | folders
SHA3-256: c8a247a331579d6ea726c5b2dfb433119e7ebfa323a2c8e616d05a13fb0702a8
User & Date: Florentis on 2026-11-26 10:32:15.350
Other Links: branch diff | manifest | tags
Context
2026-11-26
13:56
typeparse v17u: types restricted by a predicate - T((expression)), $ alone for the value: int(($%2... check-in: 6e37a38648 user: Florentis tags: tip-764_tcl90
10:32
- A strided slice of a compact list filled with a single value is validated and encoded once, t... check-in: c8a247a331 user: Florentis tags: tip-764_tcl90
2026-11-24
17:35
typeparse v17s: compiled vectorised loops, integer blocks - foreach/lmap with a vectorisable litera... check-in: 0df51d408f user: Florentis tags: tip-764_tcl90
Changes