indragiek/INAppStoreWindow — comment on commit 26b3f82d7540e47c09aef0026450b87aa251cda6
File: INAppStoreWindow.m line 62
By InScopeApps:

I'll profile this code later tonight but in profiling Play by Play the static CIImage was taking 4.87 Mb of ram. This seems like a lot but it's better then the overhead of including an image of noise. When using `static` only one instance of the CIImage is created for the entire app. If a new CIImage is created for each window(in the init) this might mean that each window will have the 4.87 Mb overhead of an allocated CIImage. This could mean that having 4 empty windows could consume close to 20 Mb.