On Thu, May 6, 2010 at 2:12 PM, Jens Alfke <j...@mooseyard.com> wrote:
> An intermediate level would be if the library loads the _compressed_ audio.
> This is a lot less memory usage. It may even memory-map the file, which
> wouldn't affect your process's heap space at all. (I know the iPhone doesn't
> have VM, but I'm pretty sure it at least supports memory-mapping because
> that's pretty critical for loading code.)

Just a minor terminology nitpick (I'm about ready to give this one up,
but not quite yet): "virtual memory" refers to a a disconnect between
logical and physical memory addresses, usually accomplished through
dedicated mapping hardware. VM is a prerequisite for things like
giving different processes separate address spaces, and also for doing
things like memory mapped files.

The iPhone definitely has VM. What it doesn't have is swap, which is
what you get when you leverage VM to transparently shuffle memory
contents between RAM and slower, cheaper storage.

Mike
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to