Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 8b355d1941371c547c758b0cdec54fcf3ef7d346ca8a54cead3cfb7f7aab143d
Ticket: 5d6de65036f6ecd229c8c46e591aae520547968a
[package require] misses stable options with stable preference
User & Date: dgp on 2017-11-14 13:43:15
Changes

  1. icomment:
    
    We have to prioritize correctness over other things.
    Clarity is usually the right second place.
    Performance after those.
    
    The prior implementation, I believe, was complicated
    out of an optimization attempt to minimize calls to
    SomeRequirementSatisfied().  Too bad that complicated
    often leads to wrong.
    
    It will be interesting to see if this change leads to
    fresh complaints about [package require] getting slower.
    
    There is ample room here for a refactoring that can
    improve both clarity and performance I think. Hopefully
    someone can find time to pursue that in the 8.7+ branches.
    
    Finally, I think there's still arguably a selection bug,
    though the spec is vague enough that I'm not certain. I
    will post that in a fresh ticket.
    
  2. login: "dgp"
  3. mimetype: "text/plain"