This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: std::vector's freestore management


On Mon, Jul 08, 2002 at 05:44:41AM -0400, Phil Edwards wrote:
> I've added links to your original message (the design paper), to the
> announcement from a few days ago, and to the kotelna.sk site.  It will
> take a day to propogate to the online FAQ.  If the text is inaccurate
> please let me know.
Thank you. The text is fine. I would change it only a little.
There is a patch and the end of the message.

Brief explanation:

The term 'space overhead management' fits better than
'memory management', I think. Memory/freestore management, as more
general terms, include allocation (allocate/free) issues as well.
Yes, the original subject was 'freestore management', that can't be
changed. The terms were replaced inside the package, however.

I think, it's a good idea to describe the hints using a few words.
Readers get easier an idea about what is going on there.

> The kotelna link points to the directory instead of the .tar.gz file, so
> users will see your HTML page instead, including any future announcements,
> future versions, etc.
Yes, that's it. BTW, I'll improve the page when time permits.

The patch is bellow. If you would find it ok, could you please apply it?

Thanks & Regards,

Daniel

--- CUT HERE --- CUT HERE --- CUT HERE --- CUT HERE --- CUT HERE ---
--- ./howto.html.orig	Fri Jul 12 17:09:52 2002
+++ ./howto.html	Fri Jul 12 17:20:12 2002
@@ -27,7 +27,7 @@
    <li><a href="#4">&quot;Hinting&quot; during insertion</a>
    <li><a href="#5">Bitmasks and string arguments</a>
    <li><a href="#6"><code>std::list::size()</code> is O(n)!</a>
-   <li><a href="#7">Memory management for vectors</a>
+   <li><a href="#7">Space overhead management for vectors</a>
 </ul>
 
 <hr>
@@ -434,13 +434,13 @@
    </p>
 
 <hr>
-<h2><a name="7">Memory management for vectors</h2>
+<h2><a name="7">Space overhead management for vectors</h2>
    <p>In
       <a href="http://gcc.gnu.org/ml/libstdc++/2002-04/msg00105.html";>this
       message to the list</a>, Daniel Kostecky announced work on an
       alternate form of <code>std::vector</code> that would support hints
-      about free store management.  The design was also described, along
-      with possible implementation choices.
+      on the amount of elements to be over allocated.  The design was also
+      described, along with possible implementation choices.
    </p>
    <p>The first alpha release was announced
       <a href="http://gcc.gnu.org/ml/libstdc++/2002-07/msg00048.html";>recently</a>
--- CUT HERE --- CUT HERE --- CUT HERE --- CUT HERE --- CUT HERE ---

-- 
Daniel Kostecky, dk at kotelna dot sk


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]