On Nov 8, 2011, at 10:51 PM, Don Quixote de la Mancha wrote:

> It's user-configurable.  If the user asks for too big a grid, I want to be 
> able to tell them that there isn't enough memory, then suggest they try a 
> smaller grid.


In a naive implementation using 1 byte per cell and a full duplicate of state 
for advancement, you can support an 8192x8192 grid in 128MB of memory, which 
while high is supportable on all devices that support iOS 5. With various 
optimizations you can increase this size significantly of course.

But at a completely practical level, is 8K x 8K not a big enough max grid size?
--
David Duncan

_______________________________________________

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