Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: RE: search a string
From: John Wood (John.Wood_at_royalblue.com)
Date: 2002-09-06


Necessary if you want to have efficient use of memory.
If you don't then you can get away with static memory.

There's many times when not all the allocated static memory is used, in such
cases the memory COULD be used by the mpeg buffer. That would be efficient
use of memory that isn't possible right now. It would be possible with
dynamic allocation.

Searching is another great example. You don't need to keep the search
results around all the time.

-----Original Message-----
From: Nielsen Linus (ext) [mailto:Linus.Nielsen_at_elema.siemens.se]
Sent: Friday, September 06, 2002 11:44 AM
To: 'rockbox_at_cool.haxx.se'
Subject: RE: search a string

> A standard/complete malloc is a bad idea I agree. But having
> dynamic memory allocation isn't. It's necessary in fact.

Really? We haven't needed it yet.

/Linus

*************************************************************************
This message is intended only for the stated addressee(s)
and may be confidential. Access to this email by anyone
else is unauthorised. Any opinions expressed in this email
do not necessarily reflect the opinions of royalblue.
Any unauthorised disclosure, use or dissemination,
either whole or in part is prohibited,. If you are not the
intended recipient of this message, please notify
the sender immediately.
*************************************************************************



Page was last modified "Jan 10 2012" The Rockbox Crew
aaa