History

Update comment

cancel committed 6 years ago

Commit 088a99b1 parent 9be75931 file · +3 −4Browse files

Unified · Split

sim.c+3−4
@@ -89,10 +89,9 @@ static void oper_poke_and_stun(Glyph *restrict gbuffer, Mark *restrict mbuffer, · 88 unmodified lines
89}89}
90 90
91// For anyone editing this in the future: the "no inline" here is deliberate.91// For anyone editing this in the future: the "no inline" here is deliberate.
92// You may think that inlining is always faster. You would be wrong. Try it. If92// You may think that inlining is always faster. Or even just letting the
93// you really want this VM to run faster, you will need to use computed goto or93// compiler decide. You would be wrong. Try it. If you really want this VM to
94// write some stuff in assembly. "Add more inlining" is not going to make it94// run faster, you will need to use computed goto or assembly.
95// faster.
96#define OPER_FUNCTION_ATTRIBS ORCA_NOINLINE static void95#define OPER_FUNCTION_ATTRIBS ORCA_NOINLINE static void
97 96
98#define BEGIN_OPERATOR(_oper_name) \97#define BEGIN_OPERATOR(_oper_name) \

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t