Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e0462f747297ff6a21e2853f6464cf1a1fe9822684b12e753d2c60e6e75b1670
Ticket: eeab90542804319c07ed3775926ad9791cf859ca
file glob semantics - support efficient retrieval - reduce round trips
User & Date: juliannoble2 on 2023-08-20 13:44:42
Changes

  1. icomment:
    When I say above 'same API call' - I don't necessarily mean that it's a single API call as I'm generally unaware of those details as they pertain to the various platforms.
    When using Twapi - it was a call to find_file_open which returned an iterator, which then required a loop of calls to find_file_next.
    
    This was faster than repeatedly calling standard tcl 'file' ensemble commands. 
    
    My point is that this seems to demonstrate that a single scripting call could gather the information much faster if the semantics were different.  Whether this translates to reduced round trips to the filesystem itself is unclear to me.. but if so, or even if it could be done in one Tcl call, it would certainly be desirable both for local and network storage.
    
  2. login: "juliannoble2"
  3. mimetype: "text/plain"