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

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

[Octave-patch-tracker] [patch #7976] Make PPKG_ADD and PKG_DEL see both


From: Olaf Till
Subject: [Octave-patch-tracker] [patch #7976] Make PPKG_ADD and PKG_DEL see both m-file and oct-file directories of a package (2nd post)
Date: Fri, 22 Mar 2013 21:11:19 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20121207 Iceweasel/3.5.16 (like Firefox/3.5.16)

Follow-up Comment #6, patch #7976 (project octave):

They reallocate, but contrary to lists they preallocate space for many
elements at once, so new (re)allocations are seldom needed. This makes them
more efficient than lists in adding elements to the end, at least this is how
I understand an explanation in www.cplusplus.com.

I don't think it's important enough in this case to profile which is better.
If you believe otherwise, feel free to change to std::list.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?7976>

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




reply via email to

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