Overview
| Artifact ID: | ef7b6e445ea91c49474e567c3204884bd3bc424d |
|---|---|
| Ticket: | 32c5740a4d3e86b1973915d92f07d5aee6104a14
Undesirable [lappend] performance as LIST_MAX is reached |
| User & Date: | dgp on 2015-11-23 20:56:49 |
Changes
- icomment:
So, the path forwards appears to be: 1) Add to Tcl_ListObjReplace() the code needed so that attempts to realloc List structs happen where they can be of potential benefit. 2) Then, there may or may not be reason to reconsider the actual growth algorithm. Experience with Tcl_ListObjAppendElement() suggests it won't really matter. 3) Finally, it sure would be nice not to have all this list growth code semi-duplicated multiple times. It seems there ought to be a refactoring that puts these matters into one place.
- login: "dgp"
- mimetype: "text/plain"