projects
/
SXSI
/
libcds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Optimize sdarray.cpp to use g++ builtin instead of doing naive counting.
[SXSI/libcds.git]
/
src
/
static_sequence
/
static_sequence_bs.h
diff --git
a/src/static_sequence/static_sequence_bs.h
b/src/static_sequence/static_sequence_bs.h
index
fe023d0
..
e19dfd1
100644
(file)
--- a/
src/static_sequence/static_sequence_bs.h
+++ b/
src/static_sequence/static_sequence_bs.h
@@
-50,12
+50,6
@@
public:
/** Reads a bitmap determining the type */
static static_sequence_bs * load(FILE * fp);
/** Reads a bitmap determining the type */
static static_sequence_bs * load(FILE * fp);
-
- uint select_next_unsafe(uint c, uint i){
- static_bitsequence * bs = bitmaps[c];
- static_bitsequence_sdarray * sd = reinterpret_cast<static_bitsequence_sdarray *>(bs);
- return sd->select_next1_unsafe(i);
- };
protected:
uint sigma;
protected:
uint sigma;