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

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

[Octave-bug-tracker] [bug #50102] dlmread crashing the interpreter on Cy


From: Rik
Subject: [Octave-bug-tracker] [bug #50102] dlmread crashing the interpreter on Cygwin
Date: Sun, 19 Mar 2017 18:19:55 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Follow-up Comment #24, bug #50102 (project octave):

We could add more code to keep rmax a perfect power of two, but I don't think
it is really necessary.  The point is merely to avoid re-sizing the array for
every single row added.  In the case you outlined, the progression of size
would be 32, 64, 70, 140, 280, ..., versus 32, 64, 128, 256, ...

Essentially one extra callto resize would be issued, and it would be at a low
value of rmax so the resize will be easy.



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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