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

Check-in [a1c84c8069]

Overview
Comment:(backported from tclSE) avoid multi-threaded vulnerability of system encoding (see tcl bug [f2ff05fc8411be80]), to be thread safe increase refcount during conversion (using system encoding); atomic encoding refcount (fewer bottlenecks across threads); better handling for encoding stored in internal object representation - no extra lookup in table for cached encoding (unless epoch gets changed)
Timelines: family | ancestors | descendants | both | sebres-encoding-perf-branch
Files: files | file ages | folders
SHA3-256: a1c84c80695cce88504cde1c8fb88b6fd7f6b6c5fbde65ba8bed3925b971385e
User & Date: sebres on 2024-04-26 13:47:07.305
Other Links: branch diff | manifest | tags
References
2025-09-18
13:10 • Ticket [893f8cc5db] Nested mutexes following TIP 509 status still Open with ... artifact: af67a51a93 user: jan.nijtmans
Context
2024-04-26
13:49
more tweaks optimized encoding reusing processes (added small cache storage holding 2 last freed enc... check-in: 389529a649 user: sebres tags: sebres-encoding-perf-branch
13:47
(backported from tclSE) avoid multi-threaded vulnerability of system encoding (see tcl bug [f2ff05fc... check-in: a1c84c8069 user: sebres tags: sebres-encoding-perf-branch
2024-04-12
22:55
minor backport from my core: simple speed-up if searching for the key from hash itself (it is safe t... check-in: f472941c43 user: sebres tags: core-8-5-branch
Changes