diff options
author | Russ Cox <rsc@golang.org> | 2009-01-26 12:36:21 -0800 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2009-01-26 12:36:21 -0800 |
commit | 74d769b28bfd9c08428f27d7c503607d64c5e53a (patch) | |
tree | 2510d5aae07204aade67d94379f589f3c9bb7738 /src/runtime/runtime.h | |
parent | 4b88babe895fa5271ea83f2d0d5e7fb6bf94856e (diff) | |
download | go-74d769b28bfd9c08428f27d7c503607d64c5e53a.tar.gz |
interface speedups and fixes.
more caching, better hash functions, proper locking.
fixed a bug in interface comparison too.
R=ken
DELTA=177 (124 added, 10 deleted, 43 changed)
OCL=23491
CL=23493
Diffstat (limited to 'src/runtime/runtime.h')
-rw-r--r-- | src/runtime/runtime.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h index 47103e253..170657d86 100644 --- a/src/runtime/runtime.h +++ b/src/runtime/runtime.h @@ -230,6 +230,7 @@ enum ANOEQ, ASTRING, AINTER, + AFAKE, Amax }; @@ -269,6 +270,7 @@ void prints(int8*); void printf(int8*, ...); byte* mchr(byte*, byte, byte*); void mcpy(byte*, byte*, uint32); +int32 mcmp(byte*, byte*, uint32); void mmov(byte*, byte*, uint32); void* mal(uint32); uint32 cmpstring(string, string); |