Review Request: Patch to reduce C++ memory consumption by removing DuContext* pointer from the AST
Alexander Dymo
alexander.dymo at gmail.com
Mon Feb 15 17:24:16 UTC 2010
2010/2/15 David Nolden <zwabel at googlemail.com>:
> Hmm but where does the performance loss come from? Normally we don't store the
> AST, and in such a case we also shouldn't build the parent-map, so it should
> not affect our normal usage.
No, that's not about parent pointer, that's about another pointer -
DuContext* pointer in AST class. If we don't store it there and use a
map, we have a 2% performance loss.
More information about the KDevelop-devel
mailing list