Overview
| Artifact ID: | d3eb0cc0bb72348c132452d9dd1c109316820000ad7d6fd3ae8f6d42f917efff |
|---|---|
| Ticket: | da16d155744c55d5a769a81b57b0e80045e8391a
unacceptable long file read time by fix of [db4f2843cd] |
| User & Date: | pointsman on 2024-01-07 23:57:34 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-plain"
- comment changed to:
Paul Obermeier reported on tcl-core: Using the latest 9.0b1 release, I get inacceptable large read times, when reading a large file. This happens only on Windows and when using the default channel settings, i.e not using fconfigure. The attached script demonstrates the issue by creating a large file and reading the file using 3 different modes: 1. Read the file in small chunks and build up the data string. 2. Use plain "read $fp" 3. Use "read $fp [file size]" Using Tcl 8.6 or 8.7 this works just fine, but with Tcl9 modes 2 and 3 take forever. If configuring the file channel with "-translation binary", read times are normal. === (end of Pauls report) I have confirmed on windows 10 with msys/mingw, gcc 8.1. Bisecing points to [f4c0d899fb4534f4]
- foundin changed to: "9.0b1"
- is_private changed to: "0"
- login: "pointsman"
- priority changed to: "5 Medium"
- private_contact changed to: "4ca203a8e925aecdd9419645f936bccf18cd6ea7"
- resolution changed to: "None"
- severity changed to: "Important"
- status changed to: "Open"
- submitter changed to: "pointsman"
- subsystem changed to: "25. Channel System"
- title changed to: "read command broken on Windows using Tcl9"
- type changed to: "Bug"