Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 9ad158ee645c9e3a7051136f6c2959a89227c6eb
Ticket: 3293874fffffffffffffffffffffffffffffffff
list length limit hits too soon
User & Date: dgp on 2011-04-27 16:56:05
Changes

  1. assignee changed to: "dgp"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    % set l [lrepeat 0x10000000 1]; concat
    % lappend l 2; concat
    max length of a Tcl list (536870909 elements) exceeded
    
    A limit of 536870909 is stopping creation of a list
    of 268435457 elements.  Tcl's imposed length limits
    are made about twice as bad as needed because the
    growth algorithm is incomplete.
    
    Contrast with:
    
    % set s [string repeat a 0x40000000]; concat
    % append s b; concat
    % string length $s
    1073741825
    
    
  4. foundin changed to: "obsolete: 8.6b1.1"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "dgp"
  10. subsystem changed to: "14. List Object"
  11. title changed to: "list length limit hits too soon"
  12. type changed to: "Bug"