On Thu, 2007-11-15 at 10:06 +0000, Hywel B. Richards wrote: > Thanks for the responses. I guess that confirms that my problem is down > to the memory allocation. > > Pedro Alves wrote: > > You could try reusing it, and/or writing your own > > global operator new, operator delete, etc. > This sounds like a good idea - I think that I'll try that. I guess I can > extract the relevant code from newlib. > > However, if you find that you can isolate the parts of > > the code that are critical, it may be better to use a pool > > or a special allocator for the memory management of those > > time critical allocations/objects. > I did try this for some classes for the linux port of this code, but the > gain was very small. I guess that dlmalloc is just well-suited to this code!
Does anyone know what causes this? Are the CE coredll memory allocation functions slow ? (Then eVC++ generated code should suffer from this too.) Danny -- Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Cegcc-devel mailing list Cegcc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cegcc-devel