Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2004-03-31
09:14 • Closed ticket [875055ffff]: reimplementation using dicts plus 7 other change... artifact: 549842f42c user: dgp
2004-03-30
04:50 • Add attachment 875055.patch to ticket [875055ffff] artifact: 31d58c0aa6 user: dgp
04:50 • Ticket [875055ffff] reimplementation using dicts status still Open with 4 ot... artifact: c8eaf331b5 user: dgp
04:50 • Ticket [875055ffff]: 4 changes artifact: 178c7ecf15 user: dgp
2004-03-27
07:53 • Ticket [875055ffff]: 4 changes artifact: f6bda95e35 user: dgp
2004-02-24
17:50 • Ticket [875055ffff]: 4 changes artifact: 3b1964f4c1 user: mic42
2004-01-14
07:18 • Ticket [875055ffff]: 4 changes artifact: 0d7b4dc67d user: dgp
2004-01-12
03:56 • Add attachment msgcat.tcl to ticket [875055ffff] artifact: 9fb5e42721 user: mic42
03:56 • Ticket [875055ffff] reimplementation using dicts status still Open with 4 ot... artifact: bd3724917b user: mic42
2004-01-11
20:56 • New ticket [875055ffff]. artifact: 9e979b5037 user: mic42

reimplementation using dicts

Closed / Accepted875055ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 23 years ago
Descriptionplain2004-01-11 20:56:49
This matches RFE 811459, internal use of dicts.

It implements the msgcat package using nested
dictionaries instead of one large array.

Also introduced ne, eq in if expressions in places
where string equal was used.

The version number stays at 1.4 as no user visible
changes (other than package require Tcl 8.5) are there.

Michael
mic42plain2004-01-12 03:56:49
File Added - 73076: msgcat.tcl
dgpplain2004-01-14 07:18:46
Logged In: YES 
user_id=80530


Thanks for this work.
dkf reports we should expect this
re-implementation to be more
memory efficient.

Might be more improvements
possible pending TIP 163.

Will consider further.  Ping if we get close
to 8.5a1 release without resolution.
mic42plain2004-02-24 17:50:55
Logged In: YES 
user_id=302287

Ok, here is your ping.

After Bug 871387 has been fixed by dkf some small
improvements for the code are possible. (dict exists now
handles missing subdicts correct, so no need for the
workaround in place).
dgpplain2004-03-27 07:53:02
Logged In: YES 
user_id=80530


Here's an updated patch that also
makes more use of {expand} and
[source -encoding] .  (If we're gonna
require 8.5, we oughta use it!).  Please
review.
dgpplain2004-03-30 04:50:23
Logged In: YES 
user_id=80530

trying again to attach the patch...
dgpplain2004-03-30 04:50:24
File Added - 81827: 875055.patch
dgpplain2004-03-31 09:14:25
Logged In: YES 
user_id=80530

committed to HEAD to be
part of msgcat 1.4.1 (to be
bundled with Tcl 8.5a2)
Log in (anonymous is fine) to add a comment.

Attachments: