Michael Schnell wrote:
I did not take a look at FPC's memory manager. Maybe someone might want
to do some profiling ....
I did the extensive profiling when working on fcl-xml package. For a single-threaded application,
the following is true:
- FastMM is somewhat slower than FPC's memory manager, but the difference is
small.
- Given the amount of source code in FPC and FastMM, FPC is clearly a winner :)
- A lot depends on how you deal with memory. It is much faster to allocate only
than to allocate
and release in turn.
- Given the above, a single forgotten 'const' modifier at function argument of
type string may ruin
your application performance irrespective of memory manager used.
Regards,
Sergei
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel