Overview
| Artifact ID: | a729a39fc99cba0835e980c5971667dbd73331cc |
|---|---|
| Ticket: | 3519865fffffffffffffffffffffffffffffffff
[package require] is too slow |
| User & Date: | dgp on 2012-04-25 01:36:20 |
Changes
- icomment:
If you don't need a package right away, you can save your [package require] for the time when you do need it. However, you should know that that won't really help unless the [package require]s that you do need right away can all be satisfied by packages in the Tcl Module (TM) format. As soon as you have to go off seeking into the pkgIndex.tcl wilds, you are going to pay full price. That's how [tclPkgUnknown] was designed, and most packages in existence have crafted their installation patterns to follow that design. One other practical thing you could do would be to install your Tcl somewhere other than its default location in /usr so that you aren't searching big system directories like /usr/lib by default.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"