Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 8bb8d1a5b1426ca947f9dd9ff3bc29e8e9854197
Ticket: 1767293fffffffffffffffffffffffffffffffff
Bad performance using ** operator with integer operands
User & Date: kennykb on 2007-08-08 03:07:05
Changes

  1. icomment:
    
    
    File Added - 240306: power.patch
    
    Logged In: YES 
    user_id=99768
    Originator: NO
    
    Patch #5 - Added a table for the powers (exponent > 16) of small integers that fit in a 64-bit  word.  This patch should have just about all of the possible optimizations done.  It presumes that a Tcl_WideInt is always at least 64 bits; if that is not the case, then we need to figure out a way to test for that and condition out the 64-bit code and tables.
    
    File Added: power.patch
    
    
  2. login: "kennykb"
  3. mimetype: "text/plain"
  4. username: "kennykb"