Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d9a31f4839e001c647dd22d65a299cba4c80b977efd259b43c0ce4ad8e1aa760
Ticket: 7da6c2d04c219e8ed4896b9d4e9eb88e586447f2
fileevent poor performance due to shimmering
User & Date: ralfixx on 2026-05-27 08:43:37
Changes

  1. icomment:
    Emiliano, that is great news, even better solution than to fix it in just one place.
    
    Donal, thanks for the reminder that "there might be dragons" :-)   
    My proposed patch tried "list" first, and if that failed for any reason, the "old" GetString was used.   
    Reasoning was to revert the penalty: if a ("proper":-) list is used as callback, have the quick path.  
    If a non-list is used, use the string rep.  Since the script is "eval"d, I assumed it needed to be a proper list anyway  
    (eg.
    <pre>
      fileevent $fd readable "some-func $fd {"
    </pre>
    fails with 
    
    <pre>
    missing close-brace
        while executing
    "foo file3 {"
    </pre>
    )
    
  2. login: "ralfixx"
  3. mimetype: "text/x-markdown"