Overview
| Artifact ID: | 2a6e1550b60ae68c5b5738af0e0f7ee76a1df53c |
|---|---|
| Ticket: | 3519865fffffffffffffffffffffffffffffffff
[package require] is too slow |
| User & Date: | dkf on 2012-04-25 20:46:03 |
Changes
- icomment:
I was suggesting home dir because that's usually writable. (Note, if not – e.g., because the current user doesn't have an existing home dir, which is a situation I'm in with software deployed on my servers — then simply don't cache.) If there's a more appropriate location on Windows, then please read as if I was suggesting the use of that instead. There's lots of fine details about Win that I don't know. :-) Can't help about [glob] within pkgIndex.tcl (there's too much complexity in pkgIndex.tcl files in the wild for us to consider parsing them by any mechanism other than evaluation) but I think it would be possible to replace the TM searcher with this scheme too; I think the cache coherency condition would still be the same. The difference is that TMs synthesize the pkg-index info from the [glob] results rather than looking for a specific file and sourcing that. I'd be tempted to ignore tclIndex from this scheme, given that it doesn't normally exist. At least for a first hack. I'd be interested to see how things get on.
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"