[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-devel
Subject:    Re: Memory usage when opening Linux Kernel in KDevelop
From:       Christoph Cullmann <cullmann () absint ! de>
Date:       2010-11-21 18:20:13
Message-ID: 201011211920.13379.cullmann () absint ! de
[Download RAW message or body]

On Sunday 21 November 2010 00:02:13 Milian Wolff wrote:
>   On Saturday 20 November 2010 23:33:57 David Nolden wrote:
> > I don't remember anything about rxx::allocator, i guess its just the
> > default for C++.
> 
> For the cpplang plugin? But the question is *why*, really - to me it looks 
> like one of Robertos "I write my own allocator" - "Why?" - "Because I
> can!"  moments... I'll send him a mail asking him for the reasons.
I remembered to have talked with him about that in Berlin.

Its just the same I do in our company, some simple allocator which bundles the 
small allocations into big banks.

(like pool allocation or zone allocation)

The only difference between my company allocator and rxx is, rxx never calls 
destructors on free.

I think it is a good thing to have, given you allocate a real large number of 
small objects which need to be freed together anyway, not sure what "no 
reclaim..." means, I thought all memory would be freed after parsing again.

Greetings
Christoph

-- 
KDevelop-devel mailing list
KDevelop-devel@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic