I'm creating a Game of Life program for the iPhone and I want to be able to store previous states of the game in a large array, if I take the C approach and each "Grid" is a structure consisting of two ints for X, Y and a BOOL *array where I malloc the memory proportional to X*Y times the size of the BOOL value I can create 1000 of these 'Grids' at a resolution of 1024x768 in about .014 seconds but when I create an Objective-C type class that replicates this structure it takes .037 seconds. So since I want to speed this up as much as I can but still make the code bearable by adhering to Obj-C as much as possible I ask is there a way to allocate data quicker, I tried new but I can't seem to see why Obj-C doesn't support it!
Any ideas?