Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d55dceedc2da6d97f88310ede5af563603e3228f
Ticket: 218215ffffffffffffffffffffffffffffffffff
optimization levels for the memory allocator
User & Date: nobody on 2000-10-26 00:54:36
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 2534 RFE
    Version: 8.2b2
    SubmitDate: '1999-08-12'
    LastModified: '2000-05-10'
    Severity: MED
    Status: Closed
    Submitter: techsupp
    ChangedBy: hobbs
    OS: Windows NT
    OSVersion: 4.0 sp5
    Machine: X86
    FixedDate: '2000-10-25'
    ClosedDate: '2000-05-10'
    
    
    Name:
    David Gravereaux
    
    Comments:
    My program can grow to have a a very large memory footprint after about
        a week.  I would prefer to pass up the speed improvement for footprint.
    
    DesiredBehavior:
    I was wondering if an memory optimization level could be added.  Make it
        a global variable like tcl_memOpt where 1 is the lowest and the
        allocator returns all Tcl_Free'd memory back to the system, and 5 keeps
        the current behavior for the best speed.  With 3 being a compromise.
        
        Could this be shoehorned into tclAlloc.c without too much of a hassle?
    
    
    
    The core already has hooks for all memory allocation, which are
    probably better to use than fiddling with this in the core.
    It's not clear what the differences would be at the core level
    anyway, and if it wouldn't just slow things down when you have
    to switch on "opt" levels. 
    -- 05/10/2000 hobbs
    
  4. foundin changed to: "obsolete: 8.2b2"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "69. Other"
  10. title changed to: "optimization levels for the memory allocator"
  11. type changed to: "RFE"