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

Check-in [389529a649]

Overview
Comment:more tweaks optimized encoding reusing processes (added small cache storage holding 2 last freed encoding to avoid repeated reload by its usage later), for example optimizing following case: % timerate {encoding convertto [string trimright "shiftjis "] xxx} - 1036.96 µs/# 965 # 964.36 #/sec 1000.667 net-ms + 0.680358 µs/# 1469814 # 1469814 #/sec 1000.000 net-ms
Timelines: family | ancestors | descendants | both | sebres-encoding-perf-branch
Files: files | file ages | folders
SHA3-256: 389529a6499140b944f56e65861b7f27771a5f313f7d57a243c662e9bdc85a75
User & Date: sebres on 2024-04-26 13:49:14.643
Other Links: branch diff | manifest | tags
Context
2024-04-26
13:50
tests-perf/encoding.perf.tcl: added performance regression tests for encoding check-in: 4674324491 user: sebres tags: sebres-encoding-perf-branch
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
Changes