Permalink
Browse files

eval: slightly better perf by making h unsigned (thanks @lamarqua)

  • Loading branch information...
hellerve committed Nov 18, 2018
1 parent a865aa2 commit 6d1da5676e0a4bca5891f341ec1ecc9f756fce44
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/eval.c
@@ -24,7 +24,7 @@ typedef struct {
void* eval(void* arg) {
#define DISPATCH() { c = ctx->code[i++]; goto *dispatch_table[c.code]; }
int i = 0;
int h = 0;
unsigned int h = 0;
unsigned int t[TAPE_LEN];
actor_ctx* ctx = (actor_ctx*) arg;
bytecode c;

0 comments on commit 6d1da56

Please sign in to comment.