Hi,
> > This one does a full widget tree traveral and draws all changes. There is
> > little that can be done to improve it, I'm afraid.
>
> What kind of tree is it? If it's possible to go to a balanced tree
> structure (red-black, for instance) and re-balance every so often, it
> might be worth it.
For a full tree traversal, the number of nodes visited is a constant, no
matter how the tree is arranged.
[profiling]
> Try using something other than gprof if you can. It can't help us find the
> bottlenecks in the soundserver since it doesn't follow child
> threads/processes. This one is also supported by kprof and seems much
> better:
> http://www710.univ-lyon1.fr/~yperret/fnccheck/profiler.html
Thanks for the link! However, we're not doing much in the
sound server (algorithmically speaking), so I don't think there'll be much
to optimize there. Still, doing an automatized check won't hurt.
llap,
Christoph