Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a422c44717da3aa5ed2be6013a2dc73b40b346ebd34b825204c5f0ce63661bdf
Ticket: 10545687da9962482e3a9014b4cf9cbcca07e647
Improve Tcl_GetNumberFromObj with abstract list interfaces
User & Date: griffin on 2025-09-05 13:52:40
Changes

  1. icomment:
    Not sure if making a choice based on potential bad actors implementing poorly designed abstract lists is wise. 
    
    Then there's the coder that chooses to use GetNumber without having some reasonable assumption that it is a number. 
    
    I think avoiding string creation whenever possible is as important as avoiding shimmering.
    What is needed is some test results that characterize the different approaches.
    
  2. login: "griffin"
  3. mimetype: "text/plain"