Dear All,

I've recently fixed some C++ code so that it will compile with the 
mingw32ce flavour of cegcc (I've been using the "normal" cegcc with 
newlib before now). I was hoping to remove the dependency on the cegcc 
DLLs, and also speed up file opening (the app opens lots and lots of files).

However, despite opening files faster (it's about twice as fast, just 
for the open), the rest of the program runs significantly slower when 
using mingw32ce (50-100% slower).

I assume that the code generated for mingw and cegcc is much the same, 
and that any differences are mostly due to system/library calls.

The app is particularly CPU and memory intensive - in fact the parts of 
the code that do lots of memory allocation are the parts that seem to 
slow down the most, and so I have reason to believe that it is something 
to do with the memory allocation.

Does mingw32ce use a different memory allocation method to cegcc/newlib? 
My guess would be that mingw32ce uses the wince memory allocation 
directly, and that newlib might have it's own memory allocation stuff??

If so, then it seems that the newlib allocator is much more suitable for 
my task. Is there some way that I can use the memory allocator in newlib 
without having to use the rest of it?

Has anyone else encountered this or have any suggestions?
Am I on the right track with the memory allocation, or could this be 
down to something else entirely?

Many thanks,

Hywel.




-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to