The existing malloc/free implementation in msp430-libc has a variety
of issues (not least of which is nobody knows where it came from).
Very few people use heap memory allocation, so there hasn't been any
pressure to improve it.  Your best bet is probably to implement it
internally to Energia and contribute it back to msp430-libc once
you're sure it's stable, or implement a separate string pool
infrastructure in Energia where you could support various space
optimizations like sharing.

Peter

On Tue, Oct 2, 2012 at 10:21 PM, Robert Wessels <robertin...@yahoo.com> wrote:
> Is there a realloc in the pipeline or does anybody have an implementation for 
> this?
>
> The Wiring String lib uses relloc for string concatenation and am not able to 
> find a decent implementation that I can use in Energia.
> A snip would be fine too.
>
> Thanks,
>
> Robert
>
>
> ------------------------------------------------------------------------------
> Don't let slow site performance ruin your business. Deploy New Relic APM
> Deploy New Relic app performance management and know exactly
> what is happening inside your Ruby, Python, PHP, Java, and .NET app
> Try New Relic at no cost today and get our sweet Data Nerd shirt too!
> http://p.sf.net/sfu/newrelic-dev2dev
> _______________________________________________
> Mspgcc-users mailing list
> Mspgcc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to