Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 4b5fdbcb4a18f215f28cd8a82284dc45b4ed4f6a
Ticket: 3519865fffffffffffffffffffffffffffffffff
[package require] is too slow
User & Date: basilik99 on 2012-04-25 21:45:57
Changes

  1. icomment:
    So, this will provide the following behavior for a given user and machine?:
    
    - Open tclsh.exe for the first time: it will be slow
    - Run [package require] for some packages for the first time: it will be slow
    - Close your tclsh interpreter
    - Open tclsh.exe again: it will be quick
    - Load the same packages are before using [package require]: it wll be quick
    
    If so, then that's a wonderful solution. I don't care the first loading to be slow...
    
    Note: it may be out of scope now, but I have added a trace to the calls to [package require]. When I issue [pakcage require md5], it also tries to [package require] tcllibc, md5c and cryptkit (which are not installed) and Trf (which is installed). That might explain the long delay. I'll try installing these three missing packages and see if [package require md5] speeds up.
    
    
  2. login: "basilik99"
  3. mimetype: "text/plain"
  4. username: "basilik99"