Skip to content
Tcl Source Code History Of Ticket 429916ffff
Login

History Of Ticket 429916ffff

Artifacts Associated With Ticket 429916ffff

  1. Ticket change [d714535635] (rid 123917) by msofer on 2001-06-03 22:21:44:

    1. assignee initialized to: "hobbs"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      This is similar to DKF's solution of [Bug #131523]:
      when splitting binary strings into integer components
      (c*, s*, S*, i*, I* format strings), it avoids creating
      a Tcl_Obj per integer. Using a hash table, it creates
      just one Tcl_Obj per integer, with multiple assignments
      if it appears more than once.
      
      Makes a huge difference to splitting of long binary
      strings, such as is done in the mime package in tcllib.
      
    4. foundin initialized to: "None"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "msofer"
    9. subsystem initialized to: "None"
    10. title initialized to: "[binary scan] large string optimisation"
    11. type initialized to: "Patch"
  2. Add attachment "binary.patch" [a96a559853] (rid 99145) by msofer on 2001-06-04 05:21:45.

  3. Ticket change [b57f4a0de1] (rid 125252) by msofer on 2001-06-04 05:21:45:

    1. icomment:
      
      
      File Added - 6976: binary.patch
      
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  4. Add attachment "binary.patch" [a6899c9e09] (rid 98618) by hobbs on 2001-06-04 08:13:47.

  5. Ticket change [b788e75820] (rid 125615) by hobbs on 2001-06-04 08:13:47:

    1. icomment:
      
      
      File Added - 6978: binary.patch
      
      Logged In: YES 
      user_id=72656
      
      This doesn't improve speed because the ScanNumber
      always creates an object.  A slight change allows
      this to improve speed (attached patch), but only
      starting at 5000 byte of input (as opposed to the
      split version, which benefits already at 500 chars).
      
      
    2. login: "hobbs"
    3. mimetype: "text/plain"
    4. username: "hobbs"
  6. Ticket change [a0dc8d5f95] (rid 96881) by dkf on 2001-11-29 22:46:32:

    1. status changed to: "Closed"
  7. Ticket change [83e7c43442] (rid 117456) by dkf on 2001-11-29 22:46:33:

    1. assignee changed to: "dkf"
    2. icomment:
      Logged In: YES 
      user_id=79902
      
      I've had a look at this, and found that the most effective
      technique was to limit the size of the cache (260 entries
      worked well and should handle the split-byte-case nicely)
      and *delete* the cache and stop looking once the number of
      elements exceeded that. I suppose this has something to do
      with the marginal benefit from adding a few more elements at
      that size being very small. Not particularly obvious, I must
      admit...
      
      
    3. login: "dkf"
    4. mimetype: "text/plain"
    5. resolution changed to: "Out of Date"
    6. subsystem changed to: "12. ByteArray Object"
    7. username: "dkf"
  8. Ticket change [077491f507] (rid 89403) by dkf on 2001-11-29 22:46:34:

    1. closedate changed to: "2001-11-29T15:46:34"
    2. closer changed to: "dkf"