Reputation
6,192
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
2 22 42
Newest
 Nice Answer
Impact
~233k people reached

Aug
10
awarded  Nice Answer
Jun
23
comment State Machines: State Object versus sequential check: what are the pro/cons?
@NoobSaibot Yes, but you could argue that about anything. The if-else could suffer from poor branch prediction, the state pattern as described above may suffer from the vtable lookup overhead. Both are unlikely unless you have a ton of states. So the real answer to your question is "it depends".
May
12
awarded  Taxonomist
Apr
8
awarded  Nice Answer
Mar
6
comment How do audio based games such as Audiosurf and Beat Hazard work?
@KevinReid Ask and ye shall receive. Updated.
Mar
6
revised How do audio based games such as Audiosurf and Beat Hazard work?
Updated beat detection link
Mar
4
awarded  Good Answer
Mar
4
comment How do audio based games such as Audiosurf and Beat Hazard work?
@Kay updated the link
Mar
4
revised How do audio based games such as Audiosurf and Beat Hazard work?
Updated broken link
Dec
7
awarded  Popular Question
Sep
30
awarded  Explainer
Sep
29
awarded  Yearling
Aug
21
awarded  Enlightened
Aug
21
awarded  Nice Answer
Apr
30
awarded  Self-Learner
Mar
11
awarded  Popular Question
Sep
29
awarded  Yearling
Aug
30
awarded  Notable Question
Jun
18
awarded  Enlightened
Jun
18
awarded  Nice Answer