|
Rockbox mail archiveSubject: RE: search a stringRE: search a string
From: John Wood <John.Wood_at_royalblue.com>
Date: Fri, 6 Sep 2002 12:02:20 -0400 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. ************************************************************************* Received on 2002-09-06 Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy |