Skip to content

Instantly share code, notes, and snippets.

@mrmekon
mrmekon / fp_profiler.mm
Created May 30, 2013 10:14
Compares the performance of fixed-point vs floating-point arithmetic on iPhone 5 (Apple A6 processor) by evaluating a contrived 'movement update' algorithm over a large array of 'particle' structs. Intended to identify best practices for developing an efficient particle engine. I recommend testing on the device with 'Release' versions, using -O3…
//
// main.m
// fp_profiler
//
// Compares the performance of fixed-point vs floating-point for simple
// "particle engine" movement loops.
//
// Optimized for iPhone 5 (Apple A6 / ARMv7)
//
// Created by Trevor Bentley on 5/29/13.
@mrmekon
mrmekon / keybase.md
Created September 19, 2017 15:46
keybase proof

Keybase proof

I hereby claim:

  • I am mrmekon on github.
  • I am mrmekon (https://keybase.io/mrmekon) on keybase.
  • I have a public key ASAw0C2WLtDhdmeIAlPwLXyN8KISfCKBhWqala0Dl6UQFwo

To claim this, I am signing this object:

@mrmekon
mrmekon / keybase.md
Created September 19, 2017 15:50
keybase proof

Keybase proof

I hereby claim:

  • I am mrmekon on github.
  • I am mrmekon (https://keybase.io/mrmekon) on keybase.
  • I have a public key whose fingerprint is 2685 83B6 4786 F50F 8074 56DA 8CED 3A80 D41C 0DCB

To claim this, I am signing this object: