octave-bug-tracker
[Top][All Lists]
Advanced

[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: Fri, 8 Sep 2017 19:04:50 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0

Follow-up Comment #32, bug #51871 (project octave):

OK.  Fine as is.

True about 'status' always being used if there is a fail, but most of the time
there is no fail, so it just saves a few cycles of not putting a value on the
stack unless it is needed.

>> There's no real reason is.get () would start returning a space (' ') on an
EOF or error case. Thus, the while loop will terminate eventually. 

I can't find anything about what happens if there is a fail, but not an EOF
type of fail, i.e., whether c1 is overwritten with something even if there is
'bad' stream.  Because c1 is initialized to ' ', if in the first is.get()
there is some bad read, could c1 stay at ' '?  What scenario is considered a
bad stream, I don't know.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?51871>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]