nanogui: static const fonts
Subject:
Re: [nanogui] static const fonts
From:
Alex Holden ####@####.####
Date:
7 Jul 2004 19:25:48 +0100
Message-Id: <40EC3FBA.3010202@linuxhacker.org>
Alan Cox wrote:
> On Maw, 2004-07-06 at 22:20, David Muse wrote:
>>I've been attempting to reduce the amount of ram that my apps use and I've had a difficult time finding any information on the web about how to profile memory usage and what kinds of things one can do to reduce it. I've pretty much been digging through /proc/<pid> manually and doing a lot of trial and error testing. So far, it appears that reducing the size of a library's data segment helps, but I'm not 100% clear on the details yet. If anyone out there knows much about this subject, I'd appreciate any help you can give me.
> text is shared
> data is shared across fork until written but not between execs
> So it looks a very sensible change
Another good reason is that if you happen to be on a very small embedded
system where the code runs directly from uncompressed ROM (ie. Execute
In Place), constant data remains in the ROM instead of being copied into
RAM at startup.
--
------------ Alex Holden - http://www.linuxhacker.org ------------
If it doesn't work, you're not hitting it with a big enough hammer