Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 773e94c107b9dadb1488b17ff114af0249f006ae
Ticket: 3408408fffffffffffffffffffffffffffffffff
Erratic sharing/duplication of values in [expr]
User & Date: ferrieux on 2011-09-13 13:30:18
Changes

  1. icomment:
    15:19        dgp        ferrieux, based on a quck look I think your sharing goals are getting thwarted by the TRY_CVT_TO_NUMERIC shenanigans that take place on the way out of an [expr].
    15:20        dgp        Another contributor may be whether your context has [expr] compiled early, or compiled only at run time.
    
    16:11        dgp        ferrieux, a possible way forward on the expr literal sharing issue...
    16:12        dgp        At the point in CompileExprTree() where the INST_TRY_CVT_TO_NUMERIC opcode is pushed...
    16:13        dgp        ...because we've determined there's a possible need to convert a non-canonical number to its canonical form...
    16:15        dgp        if there's some way to make the conversion right there at compile time to canonical form, register *that* as a literal and sieze the sharing advantage then avoid pushing the opcode...
    16:15        dgp        ...well that's the concept.  I'd have to review how much we know at that point.
    
    
    
  2. login: "ferrieux"
  3. mimetype: "text/plain"
  4. username: "ferrieux"