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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #51871] load ascii-based numeric file is signi


From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #51871] load ascii-based numeric file is significantly slow
Date: Tue, 29 Aug 2017 01:24:43 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

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

Does

v.push_back(d);

expand the vector size in an efficient way?  E.g., does it grow the available
space incrementally with each new addition to the vector?  Or does it double
the size of available space when there is no more room in the vector?

Worth noting that in your test program the format of the data is assumed to be
valid.  However, the Octave version may be looking at the data file in a more
general sense to ensure that the format for each line has a certain
consistency and sanity about it with respect to previous lines.

Definitely worth speeding up, if possible.  Would make a lot of users happy.

    _______________________________________________________

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]