Hello Manlio, Thursday, March 26, 2009, 8:17:03 PM, you wrote: > So, now memory required is about the same as the C++ version, but how > can I optimize memory usage without having to tweak the garbage collector? C++ doesn't use GC so why you compare? -- Best regards, Bulat mailto:Bulat.Ziganshin at gmail.com