[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #60984] Load function on Windows is significan
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #60984] Load function on Windows is significantly slower than on Linux |
Date: |
Thu, 29 Jul 2021 14:00:16 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Safari/537.36 |
Update of bug #60984 (project octave):
Status: None => Need Info
_______________________________________________________
Follow-up Comment #2:
I think there may be something weirdly Microsoft-specific here with the
encoding of text files.
Assuming you have the file 'A.txt' created, can you try this code on both
Linux and Windows?
fid = fopen ('A.txt', 'rb');
tic; data = fread (fid, Inf, '*char'); toc
fclose (fid);
fid = fopen ('A.txt', 'rt');
tic; data2 = fread (fid, Inf, '*char'); toc
fclose (fid);
Is there a difference in reading a file based on whether it was opened in
binary versus text mode?
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?60984>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #60984] Load function on Windows is significantly slower than on Linux, Maxim Smolskij, 2021/07/28
- [Octave-bug-tracker] [bug #60984] Load function on Windows is significantly slower than on Linux, anonymous, 2021/07/28
- [Octave-bug-tracker] [bug #60984] Load function on Windows is significantly slower than on Linux,
Rik <=
- [Octave-bug-tracker] [bug #60984] Load function on Windows is significantly slower than on Linux, John W. Eaton, 2021/07/29
- [Octave-bug-tracker] [bug #60984] Load function on Windows is significantly slower than on Linux, Rik, 2021/07/29
- [Octave-bug-tracker] [bug #60984] Load function on Windows is significantly slower than on Linux, Maxim Smolskij, 2021/07/29
- [Octave-bug-tracker] [bug #60984] Load function on Windows is significantly slower than on Linux, Rik, 2021/07/29
- [Octave-bug-tracker] [bug #60984] Load function on Windows is significantly slower than on Linux, Charles Praplan, 2021/07/30
- [Octave-bug-tracker] [bug #60984] Load function on Windows is significantly slower than on Linux, Rik, 2021/07/30
- [Octave-bug-tracker] [bug #60984] Load function on Windows is significantly slower than on Linux, Markus Mützel, 2021/07/30
- [Octave-bug-tracker] [bug #60984] Load function on Windows is significantly slower than on Linux, Rik, 2021/07/30
- [Octave-bug-tracker] [bug #60984] Load function on Windows is significantly slower than on Linux, Markus Mützel, 2021/07/31