Displaying 2 results from an estimated 2 matches for "myregion".
Did you mean:
byregion
2008 May 18
4
[LLVMdev] Forward: Discussion about custom memory allocators for STL
...an be a great thing, as long as they are
> specific to instances of containers, not a general replacement for
> malloc/free. That way they can be used on demand when profiling shows
> they are important.
Absolutely!
> Ideally, I would be able to do something like:
>
> MyRegion R;
> std:set(R);
> std::map(R);
This is exactly the way, how I intended to use custom STL allocators.
Doing it selectively on the container intance basis is very important.
> etc, and have the nodes for both containers share the same pool.
> We already have some things like t...
2008 May 17
7
[LLVMdev] Forward: Discussion about custom memory allocators for STL
Hi,
There is a discussion thread on llvm-commits list about a possibility of using custom memory allocators for STL to improve the performance and reduce the memory pressure of STL containers, e.g. std::set.
I thought that this discussion may be interesting for a wider audience and therefore I re-post the messages on llvm-dev as well.
It would be interesting to hear what others think about
-