Browse Source

Update comment

master
cancel 5 years ago
parent
commit
088a99bc46
  1. 7
      sim.c

7
sim.c

@ -89,10 +89,9 @@ static void oper_poke_and_stun(Glyph *restrict gbuffer, Mark *restrict mbuffer,
}
// For anyone editing this in the future: the "no inline" here is deliberate.
// You may think that inlining is always faster. You would be wrong. Try it. If
// you really want this VM to run faster, you will need to use computed goto or
// write some stuff in assembly. "Add more inlining" is not going to make it
// faster.
// You may think that inlining is always faster. Or even just letting the
// compiler decide. You would be wrong. Try it. If you really want this VM to
// run faster, you will need to use computed goto or assembly.
#define OPER_FUNCTION_ATTRIBS ORCA_NOINLINE static void
#define BEGIN_OPERATOR(_oper_name) \

Loading…
Cancel
Save