Skip to content

Instantly share code, notes, and snippets.


James Blair jamesmblair

View GitHub Profile

Keybase proof

I hereby claim:

  • I am jamesmblair on github.
  • I am jamesblair ( on keybase.
  • I have a public key ASB0cbkSpYeMtaegqw-ETbhXEtv82wHROIPu0o7Efw0seAo

To claim this, I am signing this object:

View gist:83977fc07295e15109abf3f8c58e5209
* Reducing executable size:,_testing,_and_metrics/memory_perf_best_practices/#Reducing_Executable_Size
* Use the linker (iOS [1], Android [2]) to remove unnecessary code from your assemblies
* Reference third-party libraries judiciously
* Applying constraints to generics may reduce app size, since less code would need to be included (haven’t verified this)