Boost logo

Boost :

From: Joaquín Mª López Muñoz (joaquin_at_[hidden])
Date: 2007-09-20 06:16:10


Achilleas Margaritis ha escrito:

> I think std::list is slower than my list (I could be wrong of course),
> because it allocates memory from the heap for each node, whereas my list
> requires the elements to have the node embedded in them, and so blocks
> are also nodes.

Maybe you can then replace your private intrusive list with Boost.Intrusive:

http://igaztanaga.drivehq.com/intrusive

which is already included in the SVN trunk.

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk