Pedro Alves a écrit :
> 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.
>
> Cheers,
> Pedro Alves
>
>   
I made some tests with malloc/free and Tcl_Alloc/Tcl_Free as my 
application is linked with Tcl/Tk.
When  using a lot of malloc instead of Tcl_Alloc (which uses pools of 
memory), the result was very poor (high memory consumption).

Pascal


-------------------------------------------------------------------------
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