Gideon memory usage

Eray Ozkural exa at ttnet.net.tr
Wed Feb 26 22:01:02 UTC 2003


On Wednesday 26 February 2003 20:23, Roberto Raggi wrote:
> On Wed, 2003-02-26 at 19:02, Eray Ozkural wrote:
> > > 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?
>
> it will make it smaller, because you remove a QPtrList for each nodes
>

If the space utilization is seen to be unacceptable in the end (which I don't 
think is the case), then maybe there might be an engineering approach to it. 
After computing the complete AST, a transformer class can convert the whole 
tree into a space optimized tree which has only the information that the 
cppsupport clients will require.

This being an abstract idea, I need to know whether you find it feasible or 
useful.

Thanks,

-- 
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