Hello, Madhusudan C.S, le Tue 17 Jun 2008 04:12:42 +0530, a écrit : > 1. Is it better to free all those nodes as soon as they are displayed and > create them whenever they are required?
Just do that. No need to cache anything. Just let the reference counting free the node when the client doesn't need it any more. A lot more simple and should be just enough. Samuel