summaryrefslogtreecommitdiff
path: root/util/util.h
diff options
context:
space:
mode:
authorOri Bernstein <ori@markovcorp.com>2017-01-04 16:43:43 -0800
committerOri Bernstein <ori@markovcorp.com>2017-01-09 13:25:22 -0800
commit7f4f1776a930dc9b80f099ca869b0827bbc54383 (patch)
tree0bbbb0e07a9e09a6063034af58de94e360587c1f /util/util.h
parent6f1419495d556e914f5a4afa05c5f3cc8b0e1849 (diff)
downloadmc-7f4f1776a930dc9b80f099ca869b0827bbc54383.tar.gz
Speed up bitset.
Merge back Quentin's perf hacks.
Diffstat (limited to 'util/util.h')
-rw-r--r--util/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/util.h b/util/util.h
index 80887f8..60a344b 100644
--- a/util/util.h
+++ b/util/util.h
@@ -83,6 +83,7 @@ int bsisempty(Bitset *set);
int bsiter(Bitset *bs, size_t *elt);
size_t bsmax(Bitset *bs);
size_t bscount(Bitset *bs);
+
/* inline for speed */
static inline int bshas(Bitset *bs, size_t elt)
{