Skip to content
Tcl Source Code Update of ”dict Object Type”
Login

Update of ”dict Object Type”

Overview

Artifact ID: 52a45e7a0e6365d3c6476e2d3449e10a82272b3f
Page Name:dict Object Type
Date: 2014-10-09 23:33:07
Original User: dgp
Parent: 44ac9371c22d8ba51e112a31349d97bc8869f1e8 (diff)
Content

Source Files

Public Interface

Private Interface

Directly Depends On Public Interface Of

Directly Depends On Private Interface of

Discussion

Tcl_DictObjSize returns an int, imposing the same INT_MAX size limitations as in other parts of Tcl.

The *KeyList functions use an int argument to specify the length of the key list. It's less clear whether this limit is as important. (Should dicts be deep as well as wide?)

I think it's not important. The key list interfaces are 'only' conveniences. They do not make anything fundamentally possible that repeated single key calls could not do. Contrast with the size limit, where a dict with too many keys is fundamentally unable to correctly report its size.

The filtering script of dict filter is not NRE-enabled. Perhaps it should not be (similar to lsort -command) ?