Gideon memory usage

Eray Ozkural exa at ttnet.net.tr
Wed Feb 26 19:04:02 UTC 2003


On Wednesday 26 February 2003 19:56, Roberto Raggi wrote:
>
> hmm, the point is that if you want understand the strange "name" of
> certains c++ source files you must use qualified and unqualified name :(
>

We can compress them if there are a lot of them at a later time.

> maybe, to reduce the memory usage we can remove the "debug" information
> that i've attached to the nodes(== QString AST::text() ) and make the
> AST::type() a pure method.

Sure, you can compile it conditional on the NDEBUG switch, so it'll be only in 
the debug build. Don't just throw it away :)

>
> we can also, remove children(),appendChild(),removeChild() from AST,
> because now we can use TreeParser to implement Tree Walkers.
>

That won't make it faster or smaller though right?

Cheers,

-- 
Eray Ozkural (exa) <erayo at cs.bilkent.edu.tr>
Comp. Sci. Dept., Bilkent University, Ankara
www: http://www.cs.bilkent.edu.tr/~erayo  Malfunction: http://mp3.com/ariza
GPG public key fingerprint: 360C 852F 88B0 A745 F31B  EA0F 7C07 AE16 874D 539C





More information about the KDevelop-devel mailing list