[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #51871] loading '-ascii' format files is slow
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #51871] loading '-ascii' format files is slow |
Date: |
Tue, 29 Aug 2017 19:01:00 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0 |
Follow-up Comment #7, bug #51871 (project octave):
I think it's a cute trick to avoid tolower, but the real test is just to
benchmark it. One's intuition about these things is often wrong.
But before checking this, I would reorder things so that the first character
checked is 'N' and in the next step 'A'. If the value really is NA, this is
the canonical form and it will shortcircuit faster.
octave:1> x = [NA, 1, pi]
x =
NA 1.0000 3.1416
octave:2> save -ascii blah.txt x
And in blah.txt
NA 1.00000000e+00 3.14159265e+00
_______________________________________________________
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] load ascii-based numeric file is significantly slow, count, 2017/08/27
- [Octave-bug-tracker] [bug #51871] load ascii-based numeric file is significantly slow, Dan Sebald, 2017/08/29
- [Octave-bug-tracker] [bug #51871] load ascii-based numeric file is significantly slow, count, 2017/08/29
- [Octave-bug-tracker] [bug #51871] load ascii-based numeric file is significantly slow, Dan Sebald, 2017/08/29
- [Octave-bug-tracker] [bug #51871] loading '-ascii' format files is slow, Rik, 2017/08/29
- [Octave-bug-tracker] [bug #51871] loading '-ascii' format files is slow, count, 2017/08/29
- [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 <=
- [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, Dan Sebald, 2017/08/29
- [Octave-bug-tracker] [bug #51871] loading '-ascii' format files is slow, Rik, 2017/08/29
- [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, 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