|
|
Rockbox mail archiveSubject: Re: another 8MB upgrade success storyFrom: Daniel Stenberg (daniel_at_haxx.se) Date: 2003-03-21
On Thu, 20 Mar 2003, Gerald Clark wrote:
> And the benefit of doing like this would be... ?
Yes, but using your suggested approach we would need to reboot in order to
> You have to allocate your buffers now, don't you?
If declaring a static buffer means allocate to you, then yes.
> The statement was made that dynamic allocation was too complicated .
Yes. Too complicated for what we get. We already have a malloc()
> That is only true if you also implement release and reuse of memory. If you
It isn't difficult, it is complicated and needs lots of code.
But by all means, when you're done writing your patch, please post it and
The subject of malloc and memory usage gets this big attention every time it
-- Daniel Stenberg -- http://rockbox.haxx.se/ -- http://daniel.haxx.se/
Page was last modified "Jan 10 2012" The Rockbox Crew |