[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #51871] loading '-ascii' format files is slow
From: |
Dan Sebald |
Subject: |
[Octave-bug-tracker] [bug #51871] loading '-ascii' format files is slow |
Date: |
Thu, 31 Aug 2017 15:09:12 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0 |
Follow-up Comment #22, bug #51871 (project octave):
>> The obvious test would be to peek into the first, say 255 bytes, of the
file and see if we find a line ending.
What I suggested #21 is meant to find out that line ending. Anyway, I should
have pointed out in the previous post that my thinking was along the lines of
sed, grep, wc (which can tell one the number of lines in a file). That is,
these character-by-character, causal, in-line operations that don't rewind
file pointers or string pointers are all rather fast.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?51871>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #51871] loading '-ascii' format files is slow, (continued)
- [Octave-bug-tracker] [bug #51871] loading '-ascii' format files is slow, Dan Sebald, 2017/08/29
- [Octave-bug-tracker] [bug #51871] loading '-ascii' format files is slow, Rik, 2017/08/30
- [Octave-bug-tracker] [bug #51871] loading '-ascii' format files is slow, count, 2017/08/30
- [Octave-bug-tracker] [bug #51871] loading '-ascii' format files is slow, count, 2017/08/31
- [Octave-bug-tracker] [bug #51871] loading '-ascii' format files is slow, Dan Sebald, 2017/08/31
- [Octave-bug-tracker] [bug #51871] loading '-ascii' format files is slow, Rik, 2017/08/31
- [Octave-bug-tracker] [bug #51871] loading '-ascii' format files is slow, John W. Eaton, 2017/08/31
- [Octave-bug-tracker] [bug #51871] loading '-ascii' format files is slow, Rik, 2017/08/31
- [Octave-bug-tracker] [bug #51871] loading '-ascii' format files is slow, Rik, 2017/08/31
- [Octave-bug-tracker] [bug #51871] loading '-ascii' format files is slow, Dan Sebald, 2017/08/31
- [Octave-bug-tracker] [bug #51871] loading '-ascii' format files is slow,
Dan Sebald <=
- [Octave-bug-tracker] [bug #51871] loading '-ascii' format files is slow, Rik, 2017/08/31
- [Octave-bug-tracker] [bug #51871] loading '-ascii' format files is slow, John W. Eaton, 2017/08/31
- [Octave-bug-tracker] [bug #51871] loading '-ascii' format files is slow, Rik, 2017/08/31