Skip to content
Snippets Groups Projects
Commit 0588bd12 authored by Markus Blatt's avatar Markus Blatt
Browse files

Partly reverting patch 1104 (where stopped using PoolAllocator).

Now the hierarchy building is a factor 2 faster than previously. (And
as fast as in the beginning of October 2009).

[[Imported from SVN: r1153]]
parent 7cca37bf
No related branches found
No related tags found
No related merge requests found
......@@ -476,7 +476,7 @@ namespace Dune
* @brief The allocator we use for our lists and the
* set.
*/
typedef std::allocator<VertexDescriptor> Allocator;
typedef PoolAllocator<VertexDescriptor,100> Allocator;
/**
* @brief The type of a single linked list of vertex
......@@ -689,7 +689,7 @@ namespace Dune
* @brief The allocator we use for our lists and the
* set.
*/
typedef std::allocator<Vertex> Allocator;
typedef PoolAllocator<Vertex,100> Allocator;
/**
* @brief The type of a single linked list of vertex
......@@ -844,7 +844,7 @@ namespace Dune
* @brief The allocator we use for our lists and the
* set.
*/
typedef std::allocator<Vertex> Allocator;
typedef PoolAllocator<Vertex,100> Allocator;
/**
* @brief The single linked list we use.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment