Overview
| Artifact ID: | 256f282f670ac422ab61dd9001fd0fea9b7e4269228953440be7bc196298e8ef |
|---|---|
| Ticket: | 85bbfda852459a18912bcd1c131b71d0210b975d
Should [package prefer stable] prompt repeated searches? |
| User & Date: | aku on 2017-11-17 19:59:42 |
Changes
- icomment:
Huh. Yes. The difference between packages on disk, and the package database in memory. And 'package require' only going to disk if the package is not known in memory yet. An argument could be made that libtcl should go to the disk only once, on first `require` and then consider what it has in memory as fixed, i.e. nothing on the disk will change during operation. What messes this up (now) is the existence of Tcl Modules. While we introduced them to make search/startup faster (by doing a more targeted/limited search), their existence now means that a single scan will definitely not find all installed packages, as it would have before their introduction. I suspect we need a big discussion of many aspects of package handling before Tcl 9 becomes final. Because that is opportunity to straighten out the kinks we put into the system. And Tcl Modules, while nice, are a kink, a band-aid.
- login: "aku"
- mimetype: "text/plain"